Changeset 779 for WAeUP_SRP


Ignore:
Timestamp:
30 Oct 2006, 22:19:05 (18 years ago)
Author:
Henrik Bettermann
Message:

pume anonnymous view and slip added
old view and slip reverted

Location:
WAeUP_SRP/trunk
Files:
2 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/themes.xml

    r774 r779  
    1111  <element key="accommodation_slip" value="WAeUP_Student+Slippage"/>
    1212  <element key="pume_slip" value="WAeUP_Student+Slippage"/>
     13  <element key="pume_anon_slip" value="WAeUP_Student+Slippage"/> 
    1314 </property>
    1415 <object name="default" meta_type="Portal Theme"/>
  • WAeUP_SRP/trunk/skins/waeup_student/display_pume_result.py

    r778 r779  
    4444                                 )
    4545elif psm == 'valid':
    46     url = "%s/campus/students/%s/pume_slip" % (context.portal_url(),ds['s_id'])
     46    url = "%s/campus/students/%s/pume/pume_anon_view" % (context.portal_url(),ds['s_id'])
    4747    return REQUEST.RESPONSE.redirect(url)
    48    
     48
    4949
    5050return
  • WAeUP_SRP/trunk/skins/waeup_student/pume_slip.pt

    r778 r779  
    1 <metal:html tal:define="app_doc python: context.application.getContent()">
     1<metal:html tal:define="info context/getStudentInfo">
    22  <metal:body use-macro="here/main_template/macros/master">
    33    <metal:main fill-slot="main">
     
    55        <metal:block use-macro="here/error_not_found/macros/not_found" />
    66      </span>
    7       <h3>Hostel Allocation Slip (and Maintenance Receipt)</h3>
     7      <h3>PUME Result Slip</h3>
    88      <br />
    99      <span tal:omit-tag=""
     
    1212            layout_id='student_application_fe')"
    1313            />
    14       <span tal:condition="python:0" tal:omit-tag=""
    15             tal:content="structure python: info['acco_doc'].render(proxy=info['acco_doc'],
     14      <span tal:omit-tag=""
     15            tal:content="structure python: info['pume_doc'].render(proxy=info['pume_doc'],
    1616            layout_mode='view_slip',
    17             layout_id='student_accommodation_fe')"
     17            layout_id='student_pume_fe')"
    1818            />
    1919    </metal:main>
  • WAeUP_SRP/trunk/skins/waeup_student/pume_view.pt

    r774 r779  
    99           
    1010        <div style="text-align: right"
    11              tal:condition="python:review_state in ('admitted', )">
     11             tal:condition="python:review_state in ('admitted', 'pume_passed', 'pume_failed',)">
    1212        <a href="" target="slip" tal:attributes="href string:pume_slip"
    1313            onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">
Note: See TracChangeset for help on using the changeset viewer.