Changeset 3727 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
15 Oct 2008, 05:04:28 (16 years ago)
Author:
Henrik Bettermann
Message:
  • more customizations for OIS
  • fetch all student object titles from getStudentObjectTitles.py
Location:
WAeUP_SRP/trunk/skins
Files:
9 added
6 deleted
13 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_layout/layout_search_session_edit.pt

    r2243 r3727  
    7878  <br /><br />
    7979  <input type="submit" class="standalone" name="cpsdocument_edit_button"
    80          value="Save & First-time Login"
     80         value="Save & Login"
    8181         id="cpsdocument_edit_button"
    8282         tal:condition="not:creation" />
  • WAeUP_SRP/trunk/skins/waeup_ois/academic_report_slip.pt

    r3718 r3727  
    2323                    <tr tal:condition="python:info[sem[2]]">
    2424                        <th tal:content="python:sem[1]" />
     25                        <th align='center'>ATL</th> 
    2526                        <th align='center'>CA 1 <br />Marks</th>
    2627                        <th align='center'>CA 2 <br />Marks</th>   
     
    3435                        tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
    3536                        <td tal:content="row/title"></td>
     37                        <td align="center" tal:content="python:context.portal_vocabularies.pastoral_grade.get(row['atl'])"></td>
    3638                        <td align="center" tal:content="row/ca1"></td>
    3739                        <td align="center" tal:content="row/ca2"></td>
  • WAeUP_SRP/trunk/skins/waeup_ois/academic_report_view.pt

    r3718 r3727  
    4444        <span tal:content="info/student/name" />:
    4545      </span>
    46       <span tal:condition="is_student">My </span>
    47      
    4846      Subject Registration Form for <span tal:content="info/level_str" />
    4947    </h3>
    50    
    51         <br />
     48       
     49    <br />
    5250           
    53         <table>
    54            <tr>
    55             <th valign='top'>Pastoral Reports:</th>
    56             <td>
    57               <span tal:repeat="item python:info['items']">
    58                 <a href="view"
    59                    tal:attributes="href item/id"
    60                    tal:content="item/title"/><br />
    61               </span>
    62             </td>
    63           </tr>
    64           <tr>
    65             <th>Session:</th>
    66             <td><span tal:content="info/session" /></td>
    67           </tr>
    68           <tr tal:condition="has_verdict">
    69             <th>Verdict:</th>
    70             <td><span tal:content="info/verdict" /></td>
    71           </tr>     
    72         </table>           
     51    <table>
     52      <tr>
     53        <th>Session:</th>
     54        <td><span tal:content="info/session" /></td>
     55      </tr>
     56      <tr tal:condition="has_verdict">
     57        <th>Verdict:</th>
     58        <td><span tal:content="info/verdict" /></td>
     59      </tr>     
     60    </table>           
    7361   
    7462             
     
    8977        <th tal:attributes="colspan python: test(show_check_boxes,'2','1')"
    9078            tal:content="python:sem[1]" />
     79        <th align='center'>ATL</th>   
    9180        <th align='center'>CA 1 <br />Marks</th>
    9281        <th align='center'>CA 2 <br />Marks</th>   
     
    11099          </td>
    111100          <td tal:content="row/title"></td>
     101          <td align="center" tal:content="python:context.portal_vocabularies.pastoral_grade.get(row['atl'])"></td>
    112102          <td align="center" tal:content="row/ca1"></td>
    113103          <td align="center" tal:content="row/ca2"></td>
     
    275265      </table>
    276266      </form>   
     267     
     268      <table>     
     269           <tr>
     270            <th valign='top'>Pastoral Reports:</th>
     271            <td>
     272              <span tal:repeat="item python:info['items']">
     273                <a href="view"
     274                   tal:attributes="href item/id"
     275                   tal:content="item/title"/><br />
     276              </span>
     277            </td>
     278          </tr>
     279       </table>     
    277280  </span>
    278281  </span>       
  • WAeUP_SRP/trunk/skins/waeup_ois/layout_application_view_info.pt

    r3707 r3727  
    2929        </tr>         
    3030        <tr valign="top">
    31           <td><span class="dlabel">Student ID</span>:
     31          <td><span class="dlabel">Online Student ID</span>:
    3232          </td>
    3333          <td>
  • WAeUP_SRP/trunk/skins/waeup_ois/student_view.pt

    r3707 r3727  
    3838            <td><span tal:content="python:context.portal_vocabularies.student_levels.get(baseinfo['level'])" /></td>
    3939          </tr>
    40           <tr>
     40          <tr tal:condition="is_staff">
    4141            <td>Current Study Mode:</td>
    4242            <td><span tal:content="python:context.portal_vocabularies.entry_modes.get(baseinfo['mode'])" /></td>
    4343          </tr>       
    44           <tr tal:define="verdict python:context.portal_vocabularies.verdicts.get(baseinfo['verdict'])">
     44          <tr tal:define="verdict python:context.portal_vocabularies.verdicts.get(baseinfo['verdict'])"
     45              tal:condition="is_staff">
    4546            <td>Current Verdict:</td>
    4647            <td><span tal:condition="verdict" tal:content="python:verdict.upper()" /></td>
  • WAeUP_SRP/trunk/skins/waeup_ois/study_course_view.pt

    r3718 r3727  
    77    <span tal:condition="info">
    88    <span tal:define="create_level info/create_level|nothing;
    9                       is_so info/is_so;">               
     9                      is_so info/is_so;
     10                      titles here/getStudentObjectTitles;">               
    1011    <a href=""
    1112       tal:attributes="href string:${here/academicsParent}">
     
    1718         <span tal:content="info/student/name" />:
    1819       </span>
    19         Study Course
     20       <span tal:content="titles/StudentStudyCourse" />
    2021    </h3>
    2122    <br /> 
     
    3334        <td><span tal:content="python:context.portal_vocabularies.student_levels.get(info['doc'].current_level)" /></td>
    3435      </tr>
    35       <tr>
     36      <tr tal:condition="is_so">
    3637        <td width="220px">Current Study Mode:</td>
    3738        <td><span tal:content="python:context.portal_vocabularies.entry_modes.get(info['doc'].current_mode)" /></td>
  • WAeUP_SRP/trunk/skins/waeup_student/application_slip.pt

    r2575 r3727  
    11<metal:body use-macro="here/slip_template/macros/master">
    22    <metal:main fill-slot="main"
    3                 tal:define="info context/getApplicationInfo">
     3                tal:define="info context/getApplicationInfo;
     4                            titles here/getStudentObjectTitles;">
    45      <span tal:condition="not: info">
    56        <span tal:content="here/illegal_view" />
     
    78      <span tal:condition="info">
    89           
    9         <h3>Application Slip</h3>
     10        <h3><span tal:content="titles/StudentApplication" /> Slip</h3>
    1011        <br />
    1112        <span tal:omit-tag=""
  • WAeUP_SRP/trunk/skins/waeup_student/application_view.pt

    r2670 r3727  
    11<metal:body use-macro="here/main_template/macros/master">
    22   <metal:main fill-slot="main"
    3                  tal:define="info context/getApplicationInfo">
     3                 tal:define="info context/getApplicationInfo;
     4                             titles here/getStudentObjectTitles;">
    45      <span tal:condition="not: info">
    56        <span tal:content="here/illegal_view" />
     
    1314          Up one level
    1415        </a>
    15         <h3>My Application Record</h3>
     16        <h3>My <span tal:content="titles/StudentApplication" /></h3>
    1617        <br />
    1718        <span tal:omit-tag=""
  • WAeUP_SRP/trunk/skins/waeup_student/clearance_slip.pt

    r3452 r3727  
    11<metal:body use-macro="here/slip_template/macros/master">
    22    <metal:main fill-slot="main"
    3                  tal:define="info context/getClearanceInfo">
     3                 tal:define="info context/getClearanceInfo;
     4                             titles here/getStudentObjectTitles;">
    45      <span tal:condition="not: info">
    56        <span tal:content="here/illegal_view" />
     
    910      <strong>Late Clearance!</strong></div>
    1011           
    11         <h3>Clearance/Eligibility Slip</h3>
     12        <h3><span tal:content="titles/StudentClearance" /> Slip</h3>
    1213        <br />
    1314        <span tal:omit-tag=""
  • WAeUP_SRP/trunk/skins/waeup_student/clearance_view.pt

    r3473 r3727  
    11<metal:body use-macro="here/main_template/macros/master">
    22  <metal:main fill-slot="main"
    3               tal:define="info context/getClearanceInfo">
     3              tal:define="info context/getClearanceInfo;
     4                          titles here/getStudentObjectTitles;">
    45    <span tal:condition="not: info">
    56      <span tal:content="here/illegal_view" />
     
    1213           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')">
    1314          <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
    14           Clearance/Eligibility Slip
     15          <span tal:content="titles/StudentClearance" /> Slip
    1516        </a>
    1617      </div>
     
    2930          My
    3031        </span>
    31         Clearance/Elegibility Record
     32        <span tal:content="titles/StudentClearance" />
    3233      </h3>       
    3334     
  • WAeUP_SRP/trunk/skins/waeup_student/lecturer_course_edit_form.pt

    r3617 r3727  
    2121                 value="Save"
    2222                 id="edit"/>
     23          <input type="submit" name="external_close_button"
     24                 class="standalone" value="Close"
     25                 onclick="window.opener.location.reload();window.close()"
     26                 id="external_close_button"
     27                 i18n:attributes="value" />                   
    2328        </form>
    2429      </metal:block>
  • WAeUP_SRP/trunk/skins/waeup_student/personal_view.pt

    r1783 r3727  
    11<metal:body use-macro="here/main_template/macros/master">
    22    <metal:main fill-slot="main"
    3                 tal:define="info context/getPersonalInfo">
     3                tal:define="info context/getPersonalInfo;
     4                            titles here/getStudentObjectTitles;">
    45      <span tal:condition="not: info">
    56        <span tal:content="here/illegal_view" />
     
    1112          Up one level
    1213        </a>           
    13         <h3>My Personal Record</h3>
     14        <h3>My <span tal:content="titles/StudentPersonal" /></h3>
    1415        <br />
    1516        <span tal:omit-tag=""
  • WAeUP_SRP/trunk/skins/waeup_student/study_course_view.pt

    r3473 r3727  
    77    <span tal:condition="info">
    88    <span tal:define="create_level info/create_level|nothing;
    9                       is_so info/is_so;">               
     9                      is_so info/is_so;
     10                      titles here/getStudentObjectTitles;">               
    1011    <a href=""
    1112       tal:attributes="href string:${here/academicsParent}">
     
    1718         <span tal:content="info/student/name" />:
    1819       </span>
    19         Study Course
     20       My <span tal:content="titles/StudentStudyCourse" />
    2021    </h3>
    2122    <br /> 
Note: See TracChangeset for help on using the changeset viewer.