Ignore:
Timestamp:
30 Aug 2014, 05:42:26 (10 years ago)
Author:
Henrik Bettermann
Message:

Display info if am checking payment is required to see the course admitted.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/applicants
Files:
2 edited

Legend:

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

    r11784 r11786  
    148148            return '<a href="%s">%s - %s</a>' %(url,code,title)
    149149        return ''
     150
     151    @property
     152    def admission_checking_info(self):
     153        if self.context.state == ADMITTED and \
     154            not self.context.admchecking_fee_paid():
     155            return _('You must pay the admission checking fee '
     156                     'to view your screening results and course admitted.')
     157        return
    150158
    151159    @action(_('Add admission checking payment ticket'), style='primary')
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser_templates/applicantdisplaypage.pt

    r11784 r11786  
    7373      </td>
    7474    </tr>
     75    <tr tal:condition="view/admission_checking_info">
     76      <td class="fieldname" i18n:translate="">
     77          Admitted Course of Study:
     78      </td>
     79      <td>
     80        <span class="hint" tal:content="view/admission_checking_info" />
     81      </td>
     82    </tr>
    7583    <tr>
    7684      <td class="fieldname" i18n:translate="">
Note: See TracChangeset for help on using the changeset viewer.