Ignore:
Timestamp:
13 Sep 2011, 16:21:44 (13 years ago)
Author:
Henrik Bettermann
Message:

Add matriculation number to student's base data.

Registration and matriculation numbers must be unique. Use UniqueField? indexes in catalog for both.

Test fails, I don't know why.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/containerpage.pt

    r6695 r6750  
    2323    <table class="display dataTableManage">
    2424      <thead>
    25         <tr>
    26           <th>Student Id</th><th>Name</th>
    27         </tr>
     25      <tr>
     26        <th>Student Id</th>
     27        <th>Registration Number</th>
     28        <th>Matriculation Number</th>
     29        <th>Name</th>
     30      </tr>
    2831      </thead>
    2932      <tbody>
    30         <tr tal:repeat="item view/hitlist">
    31           <td> <a tal:attributes="href item/url">
     33      <tr tal:repeat="item view/hitlist">
     34        <td> <a tal:attributes="href item/url">
    3235          <span tal:content="item/student_id">A123456</span></a>
    3336        </td>
    34           <td tal:content="item/name">Bob</td>
    35         </tr>
     37        <td> <a tal:attributes="href item/url">
     38          <span tal:content="item/reg_number">9999999</span></a>
     39        </td>
     40        <td> <a tal:attributes="href item/url">
     41          <span tal:content="item/matric_number">9999999</span></a>
     42        </td>
     43        <td tal:content="item/name">Bob</td>
     44      </tr>
    3645      </tbody>
    3746    </table>
Note: See TracChangeset for help on using the changeset viewer.