Ignore:
Timestamp:
12 Jun 2011, 01:02:07 (13 years ago)
Author:
uli
Message:
 
File:
1 edited

Legend:

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

    r6353 r6355  
    184184    def update(self):
    185185        datepicker.need() # Enable jQuery datepicker in date fields.
    186         #from waeup.sirp.browser.resources import jqueryui
    187         #jqueryui.need()
    188186        return super(ApplicantsContainerAddFormPage, self).update()
    189187
     
    505503
    506504    def getCourseAdmitted(self):
    507         """Return link, title and code in html format to the certificate admitted.
     505        """Return link, title and code in html format to the certificate
     506           admitted.
    508507        """
    509508        course_admitted = self.context.course_admitted
     
    558557        """
    559558        allowed_transitions = self.wf_info.getManualTransitions()
    560         return [dict(name=x, title=y) for x, y in allowed_transitions]
     559        return [dict(name='', title='No transition')] +[
     560            dict(name=x, title=y) for x, y in allowed_transitions]
    561561
    562562    @grok.action('Save')
Note: See TracChangeset for help on using the changeset viewer.