Changeset 9070 for main


Ignore:
Timestamp:
26 Jul 2012, 16:39:27 (12 years ago)
Author:
Henrik Bettermann
Message:

Approve and Download buttons should always be the last buttons.

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

Legend:

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

    r9051 r9070  
    204204
    205205class PaymentReceiptActionButton(ManageActionButton):
    206     grok.order(1)
     206    grok.order(9) # This button should always be the last one.
    207207    grok.context(IApplicantOnlinePayment)
    208208    grok.view(OnlinePaymentDisplayFormPage)
     
    219219
    220220class ApprovePaymentActionButton(ManageActionButton):
    221     grok.order(2)
     221    grok.order(8)
    222222    grok.context(IApplicantOnlinePayment)
    223223    grok.view(OnlinePaymentDisplayFormPage)
  • main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py

    r8920 r9070  
    321321
    322322class PaymentReceiptActionButton(ManageActionButton):
    323     grok.order(1)
     323    grok.order(9) # This button should always be the last one.
    324324    grok.context(IStudentOnlinePayment)
    325325    grok.view(OnlinePaymentDisplayFormPage)
     
    335335        return self.view.url(self.view.context, self.target)
    336336
    337 
    338337class ApprovePaymentActionButton(ManageActionButton):
    339     grok.order(2)
     338    grok.order(8)
    340339    grok.context(IStudentOnlinePayment)
    341340    grok.view(OnlinePaymentDisplayFormPage)
Note: See TracChangeset for help on using the changeset viewer.