Changeset 1166 for WAeUP_SRP/trunk


Ignore:
Timestamp:
31 Dec 2006, 18:11:47 (18 years ago)
Author:
Henrik Bettermann
Message:

some corrections

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/display_session_results.py

    r1165 r1166  
    5555        result['title'] = res[0].title
    5656    else:
    57         result['title'] = "Title no available"
     57        result['title'] = "To Be Determined"
    5858    if r.Semester == '2':
    5959        sem2.append(result)
  • WAeUP_SRP/trunk/skins/waeup_student/session_results_anon_view.pt

    r1165 r1166  
    4444       <table>
    4545         <span tal:repeat="semester results">
    46           <tr tal:condition="repeat/semester/start">
    47             <th width="50px">Course</th><th>Title</th><th>Grade</th>
    48           </tr>
    4946            <span tal:repeat="result semester">
    5047             <tr tal:condition="repeat/result/start">
    5148              <th colspan="5">
    52                 <span tal:replace="python: test(repeat['result'].index,'Second','First')" /> Semester
     49                <span tal:replace="python: test(repeat['semester'].index,'Second','First')" /> Semester
    5350              </th>
    5451             </tr>
    5552            <tr>     
    56             <td tal:content="result/CosCode" />
    57             <td tal:condition="nothing" align="center" tal:content="result/Semester" />
     53            <td width="80px" tal:content="result/CosCode" />
    5854            <td tal:content="result/title" />
    59             <td align="center" tal:content="result/GRADE" />
     55            <td width="50px" align="center" tal:content="result/GRADE" />
    6056          </tr>
    6157        </span>
Note: See TracChangeset for help on using the changeset viewer.