Changeset 10622 for main/waeup.uniben/trunk/src/waeup
- Timestamp:
- 11 Sep 2013, 17:09:43 (11 years ago)
- 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
r10589 r10622 72 72 grok.template('applicantdisplaypage') 73 73 74 def _show_pastq (self):74 def _show_pastq_putme(self): 75 75 return self.target.startswith('putme') \ 76 76 and self.context.state in ('paid', 'submitted') \ … … 79 79 @property 80 80 def show_pastq_al(self): 81 return self._show_pastq () \81 return self._show_pastq_putme() \ 82 82 and self.context.course1.__parent__.__parent__.code in PASTQ_AL 83 83 84 84 @property 85 85 def show_pastq_bs(self): 86 return self._show_pastq () \86 return self._show_pastq_putme() \ 87 87 and self.context.course1.__parent__.__parent__.code in PASTQ_BS 88 88 89 89 @property 90 90 def show_pastq_eps(self): 91 return self._show_pastq () \91 return self._show_pastq_putme() \ 92 92 and self.context.course1.__parent__.__parent__.code in PASTQ_EPS 93 93 94 94 @property 95 95 def show_pastq_mss(self): 96 return self._show_pastq () \96 return self._show_pastq_putme() \ 97 97 and self.context.course1.__parent__.__parent__.code in PASTQ_MSS 98 99 @property 100 def show_pastq_pude(self): 101 return self.target.startswith('pude') \ 102 and self.context.state in ('paid', 'submitted') 98 103 99 104 class CustomNigeriaPDFApplicationSlip(NigeriaPDFApplicationSlip): -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser_templates/applicantdisplaypage.pt
r10376 r10622 41 41 i18n:translate=""> 42 42 'Management And Social Sciences' 43 </a> 44 to exercise. 45 </h4> 46 47 <h4 tal:condition="view/show_pastq_pude"> 48 Download 49 <a href="https://uniben.waeup.org/downloads/PUDE_past_questions.pdf" 50 i18n:translate=""> 51 'PUDE Past Questions' 43 52 </a> 44 53 to exercise.
Note: See TracChangeset for help on using the changeset viewer.