Changeset 1783 for WAeUP_SRP/trunk/skins/waeup_epayment
- Timestamp:
- 15 May 2007, 07:49:50 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_epayment
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py
r1758 r1783 12 12 Info for the PaymentsFolder 13 13 """ 14 15 mtool = context.portal_membership 16 if mtool.isAnonymousUser(): 17 return None 18 19 14 20 #import logging 15 21 #logger = logging.getLogger('Skins.getPaymentsFolderInfo') -
WAeUP_SRP/trunk/skins/waeup_epayment/payment_receipt.pt
r1737 r1783 3 3 tal:define="info context/getStudentBaseInfo; 4 4 info_doc context/getDocumentInfo"> 5 <span tal:condition="not: info"> 5 6 <span tal:condition="python: not info or not info_doc"> 6 7 <span tal:content="here/illegal_view" /> 7 8 </span> 8 <span tal:condition="info"> 9 10 <span tal:condition="python: info and info_doc"> 9 11 10 12 <metal:block tal:condition="python:info_doc['doc'].resp_code in ('00','AP','IP')"> -
WAeUP_SRP/trunk/skins/waeup_epayment/payments_view.pt
r1758 r1783 1 <metal:body use-macro="here/waeup_content_master/macros/master"> 2 <metal:block fill-slot="header" 3 tal:define="is_student context/isStudent; 4 s_name context/getStudentNameInContext;"> 1 <metal:body use-macro="here/main_template/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="info context/getPaymentsFolderInfo;"> 4 5 <span tal:condition="not: info"> 6 <span tal:content="here/illegal_view" /> 7 </span> 8 <span tal:condition="info"> 9 <span tal:define= " rows info/payments; 10 review_state context/getStudentReviewState; 11 is_student context/isStudent; 12 s_name context/getStudentNameInContext;"> 5 13 <a href="" 6 14 tal:attributes="href string:${context/aq_parent/absolute_url}"> … … 18 26 </h3> 19 27 <br /> 20 </metal:block> 21 <metal:main fill-slot="main" 22 tal:define="info context/getPaymentsFolderInfo; 23 rows info/payments; 24 review_state context/getStudentReviewState"> 28 25 29 26 30 <table class="registration" width="100%"> … … 62 66 /> 63 67 64 65 66 68 67 69 </form> … … 79 81 /> 80 82 </form> 81 82 83 83 </div> 84 85 </span> 86 </span> 84 87 </metal:main> 85 88 </metal:body>
Note: See TracChangeset for help on using the changeset viewer.