Changeset 3611
- Timestamp:
- 6 Aug 2008, 14:25:17 (16 years ago)
- Location:
- WAeUP_SRP
- Files:
-
- 4 added
- 2 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_default/srp_view.pt
r3607 r3611 8 8 </span> 9 9 10 <span tal:condition="python: not getattr(context.campus.documents,'srp_home_doc',None)"> 10 <span tal:condition="python: not getattr(context.campus.documents,'srp_home_doc',None)" 11 tal:define="groups python: context.portal_membership.getAuthenticatedMember().getGroups()" 12 > 11 13 12 14 <h2>Welcome to the … … 16 18 <br /><br /> 17 19 18 <span tal:define="ca_view python: 'CourseAdvisers' in context.portal_membership.getAuthenticatedMember().getGroups()" 19 tal:condition="ca_view">The first-time access to the students section (Students tab above) my take some time. Your local roles are being determined.</span> 20 <span tal:condition="python: 'CourseAdvisers' in groups"> 21 The first-time access to the students section (Students tab above) my take some time. Your local roles are being determined. 22 </span> 23 24 <div tal:condition="python: 'Lecturers' in groups" 25 tal:define="info context/getLecturerCoursesInfo"> 20 26 27 You are registered lecturer of the following courses: <br /><br /> 28 29 30 <table> 31 <tr> 32 <th align='center'>Code</th> 33 <th align='center'>Title</th> 34 <th align='center'>Semester</th> 35 <th align='center'></th> 36 </tr> 37 <tr tal:repeat="row info/courses" 38 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 39 <td align="center" width="50pt"> <a href="" tal:attributes="href row/course_url"><span tal:content="row/id" /></a></td> 40 <td width="400pt" tal:content="row/title"></td> 41 <td align="center" width="20pt"><span tal:content="row/semester" /></td> 42 <td> <a href="" tal:attributes="href row/list_url">[list students] </a></td> 43 </tr> 44 </table> 45 46 47 48 </div> 21 49 </span> 22 50 -
WAeUP_SRP/base/skins/waeup_design/index_html.py
r1785 r3611 19 19 if pm.isAnonymousUser(): 20 20 return redirect("%s/srp_anonymous_view" % request.get('URL1')) 21 # return redirect("http://uniben.edu/index.php") 22 21 23 elif context.isStudent(): 22 24 return redirect("%s/srp_anonymous_view" % context.absolute_url()) 23 25 else: 24 26 return redirect("%s/srp_view" % context.absolute_url()) 25 27 28 -
WAeUP_SRP/uniben/profiles/default/course_results.xml
r2613 r3611 12 12 <column value="score"/> 13 13 <column value="grade"/> 14 <column value="lecturer"/> 14 15 <index name="key" meta_type="FieldIndex"> 15 16 <indexed_attr value="key"/> … … 18 19 <indexed_attr value="code"/> 19 20 </index> 21 <index name="lecturer" meta_type="FieldIndex"> 22 <indexed_attr value="lecturer"/> 23 </index> 20 24 <index name="student_id" meta_type="FieldIndex"> 21 25 <indexed_attr value="student_id"/> -
WAeUP_SRP/uniben/profiles/default/courses_catalog.xml
r1716 r3611 3 3 <object name="courses_catalog" meta_type="WAeUP Table"> 4 4 <column value="code"/> 5 <column value="lecturer"/> 5 6 <column value="faculty"/> 6 7 <column value="department"/> … … 12 13 <indexed_attr value="code"/> 13 14 </index> 15 <index name="lecturer" meta_type="FieldIndex"> 16 <indexed_attr value="lecturer"/> 17 </index> 14 18 <index name="faculty" meta_type="FieldIndex"> 15 19 <indexed_attr value="faculty"/> -
WAeUP_SRP/uniben/profiles/default/layouts/course.xml
r2639 r3611 23 23 <property name="display_width">8</property> 24 24 </widget> 25 26 <widget name="lecturer" meta_type="String Widget"> 27 <property name="title">Lecturer Id</property> 28 <property name="fields"> 29 <element value="lecturer"/> 30 </property> 31 <property name="label">Lecturer Id</property> 32 <property name="label_edit">Lecturer Id</property> 33 <property name="readonly_layout_modes"/> 34 <property name="hidden_layout_modes"/> 35 <property name="hidden_readonly_layout_modes"/> 36 </widget> 37 25 38 <widget name="adm_status" meta_type="String Widget"> 26 39 <property name="title">Adm Status</property> … … 118 131 </row> 119 132 <row> 133 <cell name="lecturer"/> 134 </row> 135 <row> 120 136 <cell name="title"/> 121 137 </row> -
WAeUP_SRP/uniben/profiles/default/layouts/student_course_result.xml
r2613 r3611 38 38 </widget> 39 39 <widget name="credits" meta_type="Int Widget"> 40 <property name="title">Credits (original value)</property>40 <property name="title">Credits</property> 41 41 <property name="fields"> 42 42 <element value="credits"/> 43 43 </property> 44 <property name="label">Credits (original value)</property>45 <property name="label_edit">Credits (original value)</property>44 <property name="label">Credits</property> 45 <property name="label_edit">Credits</property> 46 46 <property name="readonly_layout_modes"> 47 47 <element value="edit"/> … … 54 54 </widget> 55 55 <widget name="passmark" meta_type="Int Widget"> 56 <property name="title">Passmark (original value)</property>56 <property name="title">Passmark</property> 57 57 <property name="fields"> 58 58 <element value="passmark"/> 59 59 </property> 60 <property name="label">Passmark (original value)</property>61 <property name="label_edit">Passmark (original value)</property>60 <property name="label">Passmark</property> 61 <property name="label_edit">Passmark</property> 62 62 <property name="readonly_layout_modes"> 63 63 <element value="edit"/> … … 103 103 </row> 104 104 <row> 105 <cell name="title"/>106 </row>107 <row>108 <cell name="credits"/>109 </row>110 <row>111 <cell name="passmark"/>112 </row>113 <row>114 105 <cell name="score"/> 115 106 </row> -
WAeUP_SRP/uniben/profiles/default/schemas/course.xml
r2639 r3611 6 6 <field name="title" meta_type="CPS String Field"/> 7 7 <field name="code" meta_type="CPS String Field"/> 8 <field name="lecturer" meta_type="CPS String Field"/> 8 9 <field name="credits" meta_type="CPS Int Field"/> 9 10 <field name="former_code" meta_type="CPS String Field"/>
Note: See TracChangeset for help on using the changeset viewer.