Changeset 13307


Ignore:
Timestamp:
12 Oct 2015, 07:02:23 (9 years ago)
Author:
Henrik Bettermann
Message:

Change slips according to #128.

Location:
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/locales/en/LC_MESSAGES/waeup.kofa.po

    r11873 r13307  
    7777msgid "${a}: Previous Study Course"
    7878msgstr "${a}: Previous Course of Study"
     79
     80msgid "Course Registration Slip"
     81msgstr "Course Profile Slip"
     82
     83msgid "Download course registration slip"
     84msgstr "Download course profile slip"
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/browser.py

    r13061 r13307  
    221221        'student_id', 'reg_number')
    222222
     223    @property
     224    def label(self):
     225        line0 = 'Registration Bio Data - B'
     226        line1 = 'Admission Letter of %s' % self.context.display_fullname
     227        return '%s\n%s' % (line0, line1)
     228
    223229    def render(self):
    224230        if self.context.state in (CREATED, ADMITTED,
     
    239245    grok.require('waeup.viewStudent')
    240246    prefix = 'form'
    241     label = 'Notification of Provisional Admission'
     247    label = 'Registration Bio Data - A\nNotification of Provisional Admission'
    242248
    243249    omit_fields = ('date_of_birth', 'current_level')
     
    392398        'current_mode', 'matric_number', 'date_of_birth', 'current_level')
    393399    title = 'Clearance and Personal Data'
    394     label = 'Profile Registration Slip'
     400    label = 'Registration Bio Data - C\nProfile Data Slip'
    395401
    396402    form_fields = grok.AutoFields(ICustomStudent).select(
     
    451457<strong>INSTRUCTIONS TO FRESHERS</strong>
    452458<br /><br />
    453 You are hereby offered a provisional admission for the 2014/2015 session subject to the conditions that:
     459You are hereby offered a provisional admission for the current academic
     460 session subject to the conditions that:
    454461<br /><br />
    4554621. The information given in your Application Form is correct.
     
    48248910. The Polytechnic reserves the right to withdraw your admission at
    483490    any stage, if you are found to be a cultist or an expelled
    484     individual from any tertiary institution.
     491    individual from any tertiary institution. In addition, it should be
     492    noted that the Polytechnic will not entertain any change of name
     493    different from the one filled by the candidate on his/her Application
     494    Form.
    485495<br /><br />
    48649611. You are prepared to take up accommodation provided on the campuses
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/tests/test_browser.py

    r13306 r13307  
    450450        # A level with one course ticket was created
    451451        self.browser.getLink("100").click()
    452         self.browser.getLink("Download course registration slip").click()
     452        self.browser.getLink("Download course profile slip").click()
    453453        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    454454        self.assertEqual(self.browser.headers['Content-Type'],
Note: See TracChangeset for help on using the changeset viewer.