Changeset 3675


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 .

Location:
WAeUP_SRP
Files:
2 added
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/CHANGES.txt

    r3671 r3675  
    55----------------
    66
    7 - Product initialization: Now creating a "faster" session data container 
     7- Product initialization: Now creating a "faster" session data container
    88  in the ZODB /temp_folder upon Zope startup. Moved from "faster" product
    99  itself.
    1010
    1111
    12 1.0 (XXXX-XX-XX)
     121.2 (2008-09-18)
    1313-----------------
    1414
    15 - New backend module to edit and check university infrastructure and course
    16   data.
     15- Start customization of the course_results catalog and using different
     16  layouts for course result editing by lecturers and section officers.
     17  Dont't forget to add symbolic links in all product folders, for example:
     18
     19  cd /zope/instances/WAeUP_OIS/WAeUP_SRP/profiles/default/
     20  ln -s ../../profiles_custom/default/course_results.xml .
     21  cd layouts/
     22  ln -s ../../../profiles_custom/default/layouts/student_course_result.xml .
  • WAeUP_SRP/base/WAeUPTables.py

    r3665 r3675  
    15741574                    d['grade'] = grade
    15751575                    d['score'] = score
     1576
     1577            if str(brain.ca1).isdigit() and str(brain.ca2).isdigit() and str(brain.exam).isdigit():
     1578                d['score_calc'] = int(brain.ca1) + int(brain.ca2) + int(brain.exam)
     1579            else:
     1580                d['score_calc'] = ''
     1581
    15761582            d['coe'] = ''
    15771583            if brain.core_or_elective:
  • 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>
  • WAeUP_SRP/ois/waeup_custom/slip_template.pt

    r3664 r3675  
    8383          </td>
    8484          <td style="padding: 1em 0em 0em 0em; text-align: left;" valign="top">
    85              <h2>UOlashore International School <br /> Iloko-Ijesa, Nigeria</h2>
     85             <h2>Olashore International School <br /> Iloko-Ijesa, Nigeria</h2>
    8686         
    8787          </td>
Note: See TracChangeset for help on using the changeset viewer.