Ignore:
Timestamp:
11 Feb 2012, 06:59:15 (13 years ago)
Author:
Henrik Bettermann
Message:

Add payment session column. Remove unused pagetemplate.

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

Legend:

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

    r7591 r7629  
    929929        return
    930930
    931 # We don't need the display form page yet
    932 #class PaymentsDisplayFormPage(SIRPDisplayFormPage):
    933 #    """ Page to display the student payments
    934 #    """
    935 #    grok.context(IStudentPaymentsContainer)
    936 #    grok.name('view')
    937 #    grok.require('waeup.viewStudent')
    938 #    form_fields = grok.AutoFields(IStudentPaymentsContainer)
    939 #    grok.template('paymentspage')
    940 #    pnav = 4
    941 
    942 #    @property
    943 #    def label(self):
    944 #        return '%s: Payments' % self.context.__parent__.display_fullname
    945 
    946 #    def update(self):
    947 #        super(PaymentsDisplayFormPage, self).update()
    948 #        datatable.need()
    949 #        return
    950 
    951931# This manage form page is for both students and students officers.
    952932class PaymentsManageFormPage(SIRPEditFormPage):
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/paymentsmanagepage.pt

    r7464 r7629  
    1111      <th>Category</th>
    1212      <th>Item</th>
     13      <th>Session</th>
    1314      <th>State</th>
    1415    </tr>
     
    2829      <td tal:content ="cl/category">CATEGORY</td>
    2930      <td tal:content ="cl/p_item">ITEM</td>
     31      <td tal:content ="cl/p_session">SESSION</td>
    3032      <td tal:content ="cl/state">STATE</td>
    3133      </tr>
Note: See TracChangeset for help on using the changeset viewer.