Ignore:
Timestamp:
18 Sep 2008, 10:00:04 (16 years ago)
Author:
Henrik Bettermann
Message:
  • Start customization of the course_results catalog and using different layouts for course result editing by lecturers and section officers. Dont't forget to add symbolic links in all product folders, for example:

cd /zope/instances/WAeUP_OIS/WAeUP_SRP/profiles/default/
ln -s ../../profiles_custom/default/course_results.xml .
cd layouts/
ln -s ../../../profiles_custom/default/layouts/student_course_result.xml .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/academic_report_view.pt

    r3667 r3675  
    6363        <table>
    6464          <tr>
    65             <th  width="220px">Session:</th>
     65            <th>Session:</th>
    6666            <td><span tal:content="info/session" /></td>
    6767          </tr>
     
    9595        <th align='center'>om</th>
    9696        <th tal:condition="submission_allowed" align='center'></th>   
     97        <th tal:condition="is_so" align='center'></th>
    9798           
    9899        </tr>               
     
    114115          <td align="center" tal:content="row/ca2"></td>
    115116          <td align="center" tal:content="row/exam"></td>
    116           <td align="center" tal:content="row/score"></td>
     117          <td align="center" tal:content="row/score_calc"></td>
    117118         
    118           <td tal:condition="submission_allowed" width="5%" align="center">
     119          <td tal:condition="python:submission_allowed and is_student" align="center">
    119120            <a href="edit" tal:attributes="href string:course_edit/${row/code}"
    120121            target="edit_course_result"
     
    122123            [edit]
    123124            </a>
    124           </td>         
     125          </td>       
     126          <td tal:condition="is_so" align="center">
     127            <a href="edit" tal:attributes="href string:lecturer_course_edit/${row/code}"
     128            target="edit_course_result"
     129            onclick="javascript:window.open('','edit_course_result','width=600, height=500, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')">
     130            [edit]
     131            </a>
     132          </td>                   
    125133        </tr>
    126134        <tr><td>&nbsp;</td></tr>
Note: See TracChangeset for help on using the changeset viewer.