Ignore:
Timestamp:
4 May 2023, 08:53:20 (20 months ago)
Author:
Henrik Bettermann
Message:

Show admission slip download button only if student is fresh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py

    r17217 r17400  
    225225    target = 'admission_slip.pdf'
    226226
     227    @property
     228    def target_url(self):
     229        if not self.context.is_fresh:
     230            return ''
     231        return self.view.url(self.view.context, self.target)
     232
    227233
    228234class StudentTransferButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.