Ignore:
Timestamp:
12 Sep 2011, 09:23:38 (13 years ago)
Author:
Henrik Bettermann
Message:

Show 'Edit clearence' button only if clearance form isn't locked.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py

    r6715 r6717  
    586586    target = 'cedit'
    587587
     588    @property
     589    def target_url(self):
     590        if self.context.clearance_locked:
     591            return ''
     592        return self.view.url(self.view.context, self.target)
     593
    588594class StudentClearanceEditFormPage(StudentClearanceManageFormPage):
    589595    """ View to edit student clearance data by student
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/setpassword.pt

    r6715 r6717  
    3232    </li>
    3333    <li> After pressing the button, your Student Id will be displayed and your password set.
    34         The new password is the 10-digit part of the access code just used.
     34        The 10-digit part of the access code just used is your new password.
    3535    </li>
    3636    <li> Go to the <strong><a href="login">general login page</a></strong> and enter your new credentials.
Note: See TracChangeset for help on using the changeset viewer.