Ignore:
Timestamp:
15 May 2013, 07:34:06 (12 years ago)
Author:
Henrik Bettermann
Message:

Add level column.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r10178 r10179  
    10581058        self.session_dict = dict(
    10591059            [(item[1], item[0]) for item in academic_sessions()])
     1060        self.course_levels = course_levels
    10601061        self.studymode_dict = getUtility(IKofaUtils).STUDY_MODES_DICT
    10611062        return
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/transcript.pt

    r10178 r10179  
    3232  <thead>
    3333    <tr>
     34      <th i18n:translate="">Level</th>
    3435      <th i18n:translate="">Session</th>
    3536      <th i18n:translate="">Semester</th>
     
    4546                                      level['tickets_2'], level['tickets_3'])">
    4647      <tr tal:repeat="ticket semester_tickets" class="gradeC">
     48        <td tal:content="python: view.course_levels.getTerm(ticket.level).title">LEVEL</td>
    4749        <td tal:content="python: view.session_dict[ticket.level_session]">SESSION</td>
    4850        <td tal:content="python: view.semester_dict[ticket.semester]">SEMESTER</td>
    49         <td>
    50           <span tal:content="ticket/code">CODE</span>
    51         </td>
     51        <td tal:content="ticket/code">CODE</td>
    5252        <td tal:content="ticket/title">TITLE</td>
    5353        <td tal:content="ticket/credits">CREDITS</td>
Note: See TracChangeset for help on using the changeset viewer.