Ignore:
Timestamp:
9 Apr 2012, 12:21:05 (13 years ago)
Author:
Henrik Bettermann
Message:

Change order of ManageActionButtons?.

Change label of ApplicantRegistrationPage?.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
3 edited

Legend:

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

    r8046 r8078  
    885885    @property
    886886    def label(self):
    887         return _('Register for ${a} Application',
     887        return _('Apply for ${a}',
    888888            mapping = {'a':self.context.title})
    889889
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/contactform.pt

    r7811 r8078  
    77         tal:content="widget/label">Label
    88    </div>
     9    <br />
    910    <div tal:content="structure widget">
    1011      Textbody
  • main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py

    r7997 r8078  
    227227    target = 'manage'
    228228
    229 class CourseRegistrationSlipActionButton(ManageActionButton):
    230     grok.order(1)
    231     grok.context(IStudentStudyLevel)
    232     grok.view(StudyLevelDisplayFormPage)
    233     grok.require('waeup.viewStudent')
    234     icon = 'actionicon_pdf.png'
    235     text = _('Download course registration slip')
    236     target = 'course_registration.pdf'
    237 
    238229class StudyLevelManageActionButton(ManageActionButton):
    239     grok.order(2)
     230    grok.order(1)
    240231    grok.context(IStudentStudyLevel)
    241232    grok.view(StudyLevelDisplayFormPage)
     
    276267        return self.view.url(self.view.context, self.target)
    277268
     269class CourseRegistrationSlipActionButton(ManageActionButton):
     270    grok.order(5)
     271    grok.context(IStudentStudyLevel)
     272    grok.view(StudyLevelDisplayFormPage)
     273    grok.require('waeup.viewStudent')
     274    icon = 'actionicon_pdf.png'
     275    text = _('Download course registration slip')
     276    target = 'course_registration.pdf'
     277
    278278class CourseTicketManageActionButton(ManageActionButton):
    279279    grok.order(1)
     
    446446
    447447class StudyLevelEditActionButton(ManageActionButton):
    448     grok.order(1)
     448    grok.order(2)
    449449    grok.context(IStudentStudyLevel)
    450450    grok.view(StudyLevelDisplayFormPage)
Note: See TracChangeset for help on using the changeset viewer.