Ignore:
Timestamp:
30 Jun 2016, 09:23:19 (8 years ago)
Author:
Henrik Bettermann
Message:

Show course results only if students are returning or current level is different from course level.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser_templates/studyleveleditpage.pt

    r13937 r14000  
    1818      <th i18n:translate="">Faculty</th>
    1919      <th i18n:translate="">Credits</th>
    20       <th i18n:translate="">Score</th>
    21       <th i18n:translate="">CA</th>
    2220      <th i18n:translate="">CO</th>
    2321    </tr>
     
    3836      <td tal:content="value/fcode">FACULTY</td>
    3937      <td tal:content="value/credits">CREDITS</td>
    40       <td tal:content="value/score|nothing">SCORE</td>
    41       <td tal:content="value/ca|nothing">CA</td>
    4238      <td tal:content="value/carry_over">CO</td>
    4339    </tr>
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser_templates/studylevelpage.pt

    r13834 r14000  
    4646      <td tal:content="value/credits">CREDITS</td>
    4747      <td tal:content="value/mandatory">MANDATORY</td>
    48       <td tal:content="value/score|nothing">SCORE</td>
    49       <td tal:content="value/ca|nothing">CA</td>
    50       <td tal:content="value/grade|nothing">GRADE</td>
    51       <td tal:content="value/carry_over">CO</td>
     48      <td tal:condition="view/show_results" tal:content="value/score|nothing">SCORE</td>
     49      <td tal:condition="view/show_results" tal:content="value/ca|nothing">CA</td>
     50      <td tal:condition="view/show_results" tal:content="value/grade|nothing">GRADE</td>
     51      <td tal:condition="view/show_results" tal:content="value/carry_over">CO</td>
    5252      <td tal:content="value/automatic">AUTO</td>
    5353    </tr>
Note: See TracChangeset for help on using the changeset viewer.