Changeset 3701 for WAeUP_SRP/trunk


Ignore:
Timestamp:
24 Sep 2008, 13:44:20 (16 years ago)
Author:
Henrik Bettermann
Message:

add academic and pastoral report slips

Location:
WAeUP_SRP/trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/CHANGES.txt

    r3698 r3701  
    4646
    4747- More profile clean-up
     48
     491.8 (2008-09-24)
     50-----------------
     51- Add academic and pastoral report slips
  • WAeUP_SRP/trunk/skins/waeup_student/academic_report_view.pt

    r3682 r3701  
    2323   
    2424
    25     <span tal:condition="python:False"> 
     25    <span tal:condition="python:True"> 
    2626    <div style="text-align: right"
    27          tal:condition="rejection_allowed">
    28     <a href="" target="slip" tal:attributes="href string:course_registration_slip"
     27         tal:condition="python:True">
     28    <a href="" target="slip" tal:attributes="href string:academic_report_slip"
    2929        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')">
    3030        <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
    31         Course Registration Slip
     31        Academic Report Slip
    3232    </a>
    3333    </div>
    34    
    35     <div style="text-align: right"
    36          tal:condition="info/gpa">
    37     <a href="" target="slip" tal:attributes="href string:new_session_results_slip"
    38         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')">
    39         <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
    40         Session Results Slip
    41     </a>
    42     </div>   
    4334    </span>
    4435         
  • WAeUP_SRP/trunk/skins/waeup_student/getPastoralReportInfo.py

    r3682 r3701  
    4444#info['student'] = student = context.students_catalog.getRecordByKey(student_id)
    4545
     46students_object = context.portal_url.getPortalObject().campus.students
     47student = getattr(students_object, student_id)
     48info['app'] = student.application
     49info['app_doc'] = student.application.getContent()
     50
    4651return info
  • WAeUP_SRP/trunk/skins/waeup_student/pastoral_report_view.pt

    r3682 r3701  
    99    <span tal:condition="info" tal:omit-tag="">
    1010      <span tal:condition="not:info/is_anonymous" tal:omit-tag="">
     11
     12    <div style="text-align: right"
     13         tal:condition="python:True">
     14    <a href="" target="slip" tal:attributes="href string:pastoral_report_slip"
     15        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')">
     16        <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
     17        Pastoral Report Slip
     18    </a>
     19    </div>
     20   
     21     
    1122        <span tal:define="breadcrumbs context/getBreadCrumbs|nothing">
    1223          <a tal:condition="not: breadcrumbs" href=""
     
    2435        </span>     
    2536      </span>     
     37
     38
     39
     40
    2641      <h3 tal:define="is_so info/is_sectionofficer;">
    2742        <span tal:condition="python:is_so and s_name">
Note: See TracChangeset for help on using the changeset viewer.