Changeset 5459


Ignore:
Timestamp:
20 Aug 2010, 09:53:03 (14 years ago)
Author:
Henrik Bettermann
Message:

print more info about student

Location:
WAeUP_SRP/trunk/skins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_futminna/getTranscriptInfo.py

    r5458 r5459  
    4646except:
    4747    return
     48ci = {}
     49ci['course'] = student_record.course
     50ci['faculty'] = student_record.faculty
     51ci['department'] = student_record.department
     52ci['entry_session'] = context.portal_vocabularies.sessions.get(student_record.entry_session)
     53ci['perm_address'] = student_record.perm_address
     54
     55
     56info['more_info'] = ci 
    4857
    4958year_courses = [[],[],[],[],[],[],[],[],[]]
  • WAeUP_SRP/trunk/skins/waeup_futminna/transcript_slip.pt

    r5458 r5459  
    2424            />
    2525             
     26        <table tal:define="sc python: info['more_info'];
     27               f_id sc/faculty;
     28               d_id sc/department;
     29               sc_id sc/course;
     30               entry_session sc/entry_session;
     31               perm_address sc/perm_address;
     32               f_title context/academics/?f_id/Title|string:Faculty not yet in Prospectus;
     33               d_title context/academics/?f_id/?d_id/Title|string:Department not yet in Prospectus;
     34               sc_title context/academics/?f_id/?d_id/certificates/?sc_id/Title|string:Course not in Prospectus"
     35               >
     36        <tr>
     37          <td width="180px">Permanent Address:</td>
     38          <td><span tal:content="perm_address" /></td>
     39        </tr>               
     40        <tr>
     41          <td width="180px">Certificate:</td>
     42          <td><span tal:content="sc_title" /></td>
     43        </tr>
     44        <tr>
     45          <td>Certificate ID:</td>
     46          <td tal:content="sc/course" />
     47        </tr>
     48        <tr>
     49          <td>Entry Session:</td>
     50          <td tal:content="sc/entry_session" />
     51        </tr>       
     52            <tr>
     53              <td>Faculty:</td>
     54              <td tal:content="f_title" />
     55            </tr>
     56            <tr>
     57              <td>Department:</td>
     58              <td><span tal:content="d_title" /></td>
     59            </tr>
     60        </table>               
    2661             
    2762      <span tal:repeat="details info/year_details">
  • WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt

    r5002 r5459  
    2121    with_cascore not: info/without_cascore|nothing;
    2222    ">       
     23
     24    <a href=""
     25       tal:attributes="href string:${here/academicsParent}">
     26      <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
     27      Up one level
     28    </a>
     29
    2330    <div style="text-align: right"
    2431         tal:condition="rejection_allowed">
     
    3845    </a>
    3946    </div>   
    40 
    41          
    42     <a href=""
    43        tal:attributes="href string:${here/academicsParent}">
    44       <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
    45       Up one level
    46     </a>
    47 
     47         
    4848    <h3>
    4949      <span tal:condition="python: is_so or is_ca">
Note: See TracChangeset for help on using the changeset viewer.