Ignore:
Timestamp:
21 Sep 2018, 09:32:42 (6 years ago)
Author:
Henrik Bettermann
Message:

Remove manageStudent permission.
Show tables on landing pages.
Adjust tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/henrik-transcript-workflow/src/waeup/kofa/browser/templates/mytranscriptrequests.pt

    r15160 r15162  
    22  Transcripts to be validated
    33</h3>
    4 <div tal:repeat="student python:view.getStudents[0]">
    5   <a tal:attributes="href python:student.url + '/studycourse/transcript'">
    6     <span tal:content="student/display_fullname">FULLNAME</span>
    7   </a>
    8 </div>
     4
     5<table class="kofa-data-table dataTable" tal:condition="python:view.getStudents[0]">
     6  <thead>
     7  <tr>
     8    <th i18n:translate="">Matric No.</th>
     9    <th i18n:translate="">Student Id</th>
     10    <th i18n:translate="">Fullname</th>
     11    <th i18n:translate="">Faculty</th>
     12    <th i18n:translate="">Department</th>
     13    <th i18n:translate="">Course of Studies</th>
     14  </tr>
     15  </thead>
     16  <tbody>
     17  <tr tal:repeat="student python:view.getStudents[0]">
     18    <td tal:content="student/context/matric_number">MATRICNUMBER</td>
     19    <td>
     20      <a tal:attributes="href python:student.url + '/studycourse/transcript'">
     21      <span tal:content="student/student_id">STUDENTID</span>
     22      </a>
     23    </td>
     24    <td tal:content="student/context/display_fullname">FULLNAME</td>
     25    <td tal:content="student/context/faccode">FACCODE</td>
     26    <td tal:content="student/context/depcode">DEPCODE</td>
     27    <td tal:content="student/context/certcode">CERTCODE</td>
     28  </tr>
     29  </tbody>
     30</table>
     31
    932<h3 i18n:domain="waeup.kofa" i18n:translate="" tal:condition="python:view.getStudents[1]">
    1033  Transcripts to be signed and released
    1134</h3>
    12 <div tal:repeat="student python:view.getStudents[1]">
    13   <a tal:attributes="href python:student.url + '/studycourse/transcript'">
    14     <span tal:content="student/display_fullname">FULLNAME</span>
    15     (<span tal:content="student/student_id">ID</span> -
    16     <span tal:content="student/matric_number">MATRICNUMBER</span>)
    17   </a>,
    18   <span tal:content="student/context/faccode">FACCODE</span> /
    19   <span tal:content="student/context/depcode">DEPCODE</span> /
    20   <span tal:content="student/context/certcode">CERTCODE</span>
    21 </div>
    2235
     36<table class="kofa-data-table dataTable" tal:condition="python:view.getStudents[1]">
     37  <thead>
     38  <tr>
     39    <th i18n:translate="">Matric No.</th>
     40    <th i18n:translate="">Student Id</th>
     41    <th i18n:translate="">Fullname</th>
     42    <th i18n:translate="">Faculty</th>
     43    <th i18n:translate="">Department</th>
     44    <th i18n:translate="">Course of Studies</th>
     45  </tr>
     46  </thead>
     47  <tbody>
     48  <tr tal:repeat="student python:view.getStudents[1]">
     49    <td tal:content="student/context/matric_number">MATRICNUMBER</td>
     50    <td>
     51      <a tal:attributes="href python:student.url + '/studycourse/transcript'">
     52      <span tal:content="student/student_id">STUDENTID</span>
     53      </a>
     54    </td>
     55    <td tal:content="student/context/display_fullname">FULLNAME</td>
     56    <td tal:content="student/context/faccode">FACCODE</td>
     57    <td tal:content="student/context/depcode">DEPCODE</td>
     58    <td tal:content="student/context/certcode">CERTCODE</td>
     59  </tr>
     60  </tbody>
     61</table>
Note: See TracChangeset for help on using the changeset viewer.