Ignore:
Timestamp:
15 May 2007, 07:49:50 (18 years ago)
Author:
Henrik Bettermann
Message:
  • assertViewable removed and page templates adjusted, so that no traceback occurs.
  • 'Previous Session' action added
  • waeup_content_master.pt removed
  • and more
Location:
WAeUP_SRP/trunk/skins/waeup_epayment
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py

    r1758 r1783  
    1212Info for the PaymentsFolder
    1313"""
     14
     15mtool = context.portal_membership
     16if mtool.isAnonymousUser():
     17    return None
     18
     19
    1420#import logging
    1521#logger = logging.getLogger('Skins.getPaymentsFolderInfo')
  • WAeUP_SRP/trunk/skins/waeup_epayment/payment_receipt.pt

    r1737 r1783  
    33                tal:define="info context/getStudentBaseInfo;
    44                            info_doc context/getDocumentInfo">
    5       <span tal:condition="not: info">
     5     
     6      <span tal:condition="python: not info or not info_doc">
    67        <span tal:content="here/illegal_view" />
    78      </span>
    8       <span tal:condition="info">
     9     
     10      <span tal:condition="python: info and info_doc">
    911     
    1012        <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;">
    513        <a href=""
    614           tal:attributes="href string:${context/aq_parent/absolute_url}">
     
    1826        </h3>
    1927        <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
    2529
    2630        <table class="registration" width="100%">
     
    6266                />
    6367               
    64 
    65 
    6668               
    6769        </form> 
     
    7981                />
    8082        </form>         
    81        
    82        
    8383        </div>       
     84
     85      </span>
     86      </span>
    8487      </metal:main>
    8588</metal:body>
Note: See TracChangeset for help on using the changeset viewer.