Ignore:
Timestamp:
10 Jan 2019, 15:58:13 (6 years ago)
Author:
Henrik Bettermann
Message:

Shoow course category on student pages.

Location:
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/browser.py

    r14719 r15294  
    7070        Faculty = translate(_('Faculty'), 'waeup.kofa', target_language=portal_language)
    7171        Cred = translate(_('Cred.'), 'waeup.kofa', target_language=portal_language)
    72         #Mand = translate(_('Requ.'), 'waeup.kofa', target_language=portal_language)
     72        CC = translate(_('Cat.'), target_language=portal_language)
    7373        Score = translate(_('Score'), 'waeup.kofa', target_language=portal_language)
    7474        Grade = translate(_('Grade'), 'waeup.kofa', target_language=portal_language)
     
    8787                             (Dept,'dcode', 1.5), (Faculty,'fcode', 1.5),
    8888                             (Cred, 'credits', 1.5),
    89                              #(Mand, 'mandatory', 1.5),
     89                             (CC, 'course_category', 1.2),
    9090                             (Score, 'score', 1.5),
    9191                             (Grade, 'grade', 1.5),
    92                              #('Auto', 'automatic', 1.5)
    9392                             ])
    9493        return students_utils.renderPDF(
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/browser_templates/studyleveleditpage.pt

    r15293 r15294  
    2121      <th i18n:translate="">CO</th>
    2222      <th i18n:translate="">OS</th>
     23      <th i18n:translate="">CC</th>
    2324    </tr>
    2425  </thead>
     
    4142      <td tal:content="value/carry_over">CO</td>
    4243      <td tal:content="value/outstanding">OS</td>
     44      <td tal:content="value/course_category">CC</td>
    4345    </tr>
    4446  </tbody>
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/browser_templates/studylevelmanagepage.pt

    r15293 r15294  
    4848            <th i18n:translate="">CO</th>
    4949            <th i18n:translate="">OS</th>
     50            <th i18n:translate="">CC</th>
    5051            <th i18n:translate="">Auto</th>
    5152          </tr>
     
    6970            <td tal:content="value/carry_over">CO</td>
    7071            <td tal:content="value/outstanding">OS</td>
     72            <td tal:content="value/course_category">CC</td>
    7173            <td tal:content="value/automatic">AUTO</td>
    7274          </tr>
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/browser_templates/studylevelpage.pt

    r15293 r15294  
    3232      <th i18n:translate="">CO</th>
    3333      <th i18n:translate="">OS</th>
     34      <th i18n:translate="">CC</th>
    3435      <th i18n:translate="">Auto</th>
    3536    </tr>
     
    5051      <td tal:content="value/carry_over">CO</td>
    5152      <td tal:content="value/outstanding">OS</td>
     53      <td tal:content="value/course_category|nothing">CC</td>
    5254      <td tal:content="value/automatic">AUTO</td>
    5355    </tr>
     
    5860  CO: Carry-over course<br />
    5961  OS: Outstanding course<br />
     62  CC: Course Category (C or E)<br />
    6063  Requ.: Required course<br />
    6164  Auto: Automatically created course ticket
Note: See TracChangeset for help on using the changeset viewer.