Changeset 17400 for main


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.

Location:
main/waeup.kofa/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/CHANGES.txt

    r17376 r17400  
    441.8.2.dev0 (unreleased)
    55=======================
     6
     7* Show admission slip download button only if student is fresh.
    68
    79* Enable customization of certificate select box entries also in the students
  • 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.