Ignore:
Timestamp:
7 Jun 2007, 20:33:13 (17 years ago)
Author:
Henrik Bettermann
Message:

ticket #200
ticket #243

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/course_registration_slip.pt

    r1737 r1861  
    5151          </tr>
    5252          <tr>
    53             <td valign="top"><span class="dlabel">Course Id</span>:
     53            <td valign="top"><span class="dlabel">Study Course Id</span>:
    5454            </td>
    5555            <td>
     
    6767              tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
    6868            <td width="78%" tal:content="row/title"></td>
    69             <td align="center" width="10%" tal:content="row/code"></td>
    70             <td align="center" width="2%">S<span tal:content="row/semester" /></td>
    71             <td align="center" width="2%" tal:content="row/credits"></td>
    72             <td align="center" width="8%" tal:content="row/grade|string:"></td>
     69            <td width="10%" tal:content="row/code"></td>
     70            <td width="2%">S<span tal:content="row/semester" /></td>
     71            <td width="2%" tal:content="row/credits"></td>
     72            <td width="8%" tal:content="row/grade|string:"></td>
    7373          </tr>
    7474        </table>
     
    8080              tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
    8181            <td width="78%" tal:content="row/title"></td>
    82             <td align="center" width="10%" tal:content="row/code"></td>
    83             <td align="center" width="2%">S<span tal:content="row/semester" /></td>
    84             <td align="center" width="2%" tal:content="row/credits"></td>
    85             <td align="center" width="8%" tal:content="row/coe|nothing"></td>
     82            <td width="10%" tal:content="row/code"></td>
     83            <td width="2%">S<span tal:content="row/semester" /></td>
     84            <td width="2%" tal:content="row/credits"></td>
     85            <td width="8%" tal:content="row/coe|nothing"></td>
    8686          </tr>
    8787          <tr>
     88            <th colspan="2" align="right">Total Credits:</th>
    8889            <td></td>
    89             <th colspan="2">Total Credits:</th>
    90             <td align="center" width="2%" tal:content="info/credits_total"></td>
     90            <td width="2%" tal:content="info/credits_total"></td>
    9191          </tr>
    9292        </table>
  • WAeUP_SRP/trunk/skins/waeup_student/layout_application_edit.pt

    r1071 r1861  
    1 <!-- a layout_lib macro -->
    2 <!-- $Id$ -->
    3 
    41<metal:block define-macro="default_edit"
    52  tal:define="layout options/layout;
  • WAeUP_SRP/trunk/skins/waeup_student/layout_application_view_info.pt

    r1579 r1861  
    1 <!-- a layout_lib macro -->
    2 <!-- $Id$ -->
    31<metal:block define-macro="default_view"
    42  tal:define="layout options/layout;
     
    4543        </tr>       
    4644        <tr valign="top">
    47           <td><span class="dlabel">JAMB Registration No</span>:
     45          <td><span class="dlabel">Registration No</span>:
    4846          </td>
    4947          <td>
     
    6664        </tr>         
    6765        <tr valign="top">
    68           <td><span class="dlabel">Level</span>:
     66          <td><span class="dlabel">Current Session</span>:
    6967          </td>
    7068          <td>
    71             <span tal:content="info/student/level" />
     69            <span tal:content="python:context.portal_vocabularies.sessions.get(info['student']['session'])" /> 
    7270          </td>     
    7371        </tr>           
     72        <tr valign="top">
     73          <td><span class="dlabel">Current Level</span>:
     74          </td>
     75          <td>
     76            <span tal:content="python:context.portal_vocabularies.courselevel.get(info['student']['level'])" /> 
     77          </td>     
     78        </tr>             
    7479      </table>
    7580       
  • WAeUP_SRP/trunk/skins/waeup_student/layout_application_view_slip.pt

    r1516 r1861  
    1 <!-- a layout_lib macro -->
    2 <!-- $Id$ -->
    31<metal:block define-macro="default_view"
    42  tal:define="layout options/layout;
  • WAeUP_SRP/trunk/skins/waeup_student/layout_personal_edit.pt

    r1167 r1861  
    1 <!-- a layout_lib macro -->
    2 <!-- $Id: layout_application_edit.pt 1071 2006-12-16 15:53:13Z joachim $ -->
    3 
    41<metal:block define-macro="default_edit"
    52  tal:define="layout options/layout;
  • WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt

    r1789 r1861  
    1616                       view_only info/view_only">       
    1717         
     18
     19    <div style="text-align: right"
     20         tal:condition="python:review_state in ('courses_registered','courses_validated',)">
     21    <a href="" target="slip" tal:attributes="href string:course_registration_slip"
     22        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')">
     23        <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
     24        Course Registration Slip
     25    </a>
     26    </div>
     27
    1828         
    1929    <a href=""
     
    90100          <td align="center" width="2%" tal:content="row/credits"></td>
    91101          <td align="center" width="8%" tal:content="row/coe|nothing"></td>
     102         
     103         
     104
     105
     106          <td>
     107          <a tal:condition="python:review_state == 'school_fee_paid'" href="edit" tal:attributes="href string:${row/code}/course_edit_form"
     108          target="edit"
     109          onclick="javascript:window.open('','edit','width=600, height=350, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')">
     110          [edit]
     111          </a>
     112          </td>         
     113         
     114         
    92115        </tr>
    93116        <tr>
Note: See TracChangeset for help on using the changeset viewer.