Changeset 1861
- Timestamp:
- 7 Jun 2007, 20:33:13 (17 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts.xml
r1782 r1861 29 29 <object name="student_clearance_fe" meta_type="CPS Layout"/> 30 30 <object name="student_course_result" meta_type="CPS Layout"/> 31 <object name="student_course_result_fe" meta_type="CPS Layout"/> 31 32 <object name="student_create" meta_type="CPS Layout"/> 32 33 <object name="student_firsttime_login" meta_type="CPS Layout"/> -
WAeUP_SRP/trunk/profiles/default/layouts/student_course_result.xml
r1856 r1861 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="layout.xsl"?>3 2 <object name="student_course_result" meta_type="CPS Layout"> 4 3 <property name="layout_create_method"></property> … … 8 7 <property name="flexible_widgets"/> 9 8 <property name="validate_values_expr"></property> 10 <widget name="ansbook" meta_type="String Widget"> 11 <property name="title">Ansbook</property> 12 <property name="fields"> 13 <element value="ansbook"/> 14 </property> 15 <property name="label">Ansbook</property> 16 <property name="label_edit">Ansbook</property> 17 <property name="readonly_layout_modes"/> 18 <property name="hidden_layout_modes"/> 19 <property name="hidden_readonly_layout_modes"/> 20 </widget> 21 <widget name="carry_level" meta_type="String Widget"> 22 <property name="title">Carry Level</property> 23 <property name="fields"> 24 <element value="carry_level"/> 25 </property> 26 <property name="label">Carry Level</property> 27 <property name="label_edit">Carry Level</property> 28 <property name="readonly_layout_modes"/> 29 <property name="hidden_layout_modes"/> 30 <property name="hidden_readonly_layout_modes"/> 31 </widget> 9 32 10 <widget name="code" meta_type="CertificateCourseId Widget"> 33 11 <property name="title">Course Code</property> … … 46 24 </widget> 47 25 <widget name="core_or_elective " meta_type="Boolean Widget"> 48 <property name="title">Core or Elective </property>26 <property name="title">Core or Elective (editable value)</property> 49 27 <property name="fields"> 50 28 <element value="core_or_elective"/> 51 29 </property> 52 30 <property name="is_required">True</property> 53 <property name="label">Core or Elective </property>54 <property name="label_edit">Core or Elective </property>31 <property name="label">Core or Elective (editable value)</property> 32 <property name="label_edit">Core or Elective (editable value)</property> 55 33 <property name="readonly_layout_modes"/> 56 34 <property name="hidden_layout_modes"/> … … 60 38 </widget> 61 39 <widget name="credits" meta_type="Int Widget"> 62 <property name="title">Credits </property>40 <property name="title">Credits (original value)</property> 63 41 <property name="fields"> 64 42 <element value="credits"/> 65 43 </property> 66 <property name="label">Credits</property> 67 <property name="label_edit">Credits</property> 68 <property name="readonly_layout_modes"> 69 <element value="edit"/> 70 <element value="create"/> 71 </property> 72 <property name="hidden_layout_modes"> 73 <element value="create"/> 74 </property> 75 <property name="hidden_readonly_layout_modes"/> 76 </widget> 77 <widget name="grade" meta_type="String Widget"> 78 <property name="title">Grade</property> 79 <property name="fields"> 80 <element value="grade"/> 81 </property> 82 <property name="label">Grade</property> 83 <property name="label_edit">Grade</property> 84 <property name="readonly_layout_modes"/> 85 <property name="hidden_layout_modes"/> 86 <property name="hidden_readonly_layout_modes"/> 87 </widget> 88 <widget name="import_id" meta_type="String Widget"> 89 <property name="title">ID imported</property> 90 <property name="fields"> 91 <element value="import_id"/> 92 </property> 93 <property name="label">ID imported</property> 94 <property name="label_edit">ID imported</property> 44 <property name="label">Credits (original value)</property> 45 <property name="label_edit">Credits (original value)</property> 95 46 <property name="readonly_layout_modes"> 96 47 <element value="edit"/> … … 103 54 </widget> 104 55 <widget name="passmark" meta_type="Int Widget"> 105 <property name="title">Passmark </property>56 <property name="title">Passmark (original value)</property> 106 57 <property name="fields"> 107 58 <element value="passmark"/> 108 59 </property> 109 <property name="label">Passmark </property>110 <property name="label_edit">Passmark </property>60 <property name="label">Passmark (original value)</property> 61 <property name="label_edit">Passmark (original value)</property> 111 62 <property name="readonly_layout_modes"> 112 63 <element value="edit"/> … … 125 76 <property name="label">Score</property> 126 77 <property name="label_edit">Score</property> 127 <property name="readonly_layout_modes"/> 78 <property name="readonly_layout_modes"> 79 </property> 128 80 <property name="hidden_layout_modes"/> 129 81 <property name="hidden_readonly_layout_modes"/> 130 82 </widget> 131 83 <widget name="semester" meta_type="Int Widget"> 132 <property name="title">Semester </property>84 <property name="title">Semester </property> 133 85 <property name="fields"> 134 86 <element value="semester"/> 135 87 </property> 136 <property name="label">Semester</property> 137 <property name="label_edit">Semester</property> 138 <property name="readonly_layout_modes"/> 139 <property name="hidden_layout_modes"/> 140 <property name="hidden_readonly_layout_modes"/> 141 </widget> 142 <widget name="status" meta_type="String Widget"> 143 <property name="title">Status</property> 144 <property name="fields"> 145 <element value="status"/> 146 </property> 147 <property name="label">Status</property> 148 <property name="label_edit">Status</property> 88 <property name="label">Semester (original value)</property> 89 <property name="label_edit">Semester (original value)</property> 149 90 <property name="readonly_layout_modes"> 150 91 <element value="edit"/> … … 155 96 </widget> 156 97 <widget name="title" meta_type="String Widget"> 157 <property name="title"> Course Title</property>98 <property name="title">Original Course Title</property> 158 99 <property name="fields"> 159 100 <element value="title"/> 160 101 </property> 161 <property name="label"> Course Title</property>162 <property name="label_edit"> Course Title</property>102 <property name="label">Original Course Title</property> 103 <property name="label_edit">Original Course Title</property> 163 104 <property name="readonly_layout_modes"> 164 105 <element value="edit"/> … … 170 111 <property name="hidden_readonly_layout_modes"/> 171 112 <property name="display_width">60</property> 172 </widget>173 <widget name="weight" meta_type="String Widget">174 <property name="title">Weight</property>175 <property name="fields">176 <element value="weight"/>177 </property>178 <property name="label">Weight</property>179 <property name="label_edit">Weight</property>180 <property name="readonly_layout_modes"/>181 <property name="hidden_layout_modes"/>182 <property name="hidden_readonly_layout_modes"/>183 113 </widget> 184 114 <table> … … 199 129 </row> 200 130 <row> 201 <cell name="grade"/>202 </row>203 <row>204 <cell name="ansbook"/>205 </row>206 <row>207 <cell name="status"/>208 </row>209 <row>210 131 <cell name="score"/> 211 </row>212 <row>213 <cell name="weight"/>214 132 </row> 215 133 <row> -
WAeUP_SRP/trunk/profiles/default/schemas/student_course_result.xml
r1700 r1861 12 12 <field name="semester" meta_type="CPS Int Field"> 13 13 <property name="default_expr">python:1</property> 14 </field> 15 <field name=" weight" meta_type="CPS StringField"/>14 </field> 15 <field name="passmark" meta_type="CPS Int Field"/> 16 16 </object> -
WAeUP_SRP/trunk/skins/waeup_student/course_registration_slip.pt
r1737 r1861 51 51 </tr> 52 52 <tr> 53 <td valign="top"><span class="dlabel"> Course Id</span>:53 <td valign="top"><span class="dlabel">Study Course Id</span>: 54 54 </td> 55 55 <td> … … 67 67 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 68 68 <td width="78%" tal:content="row/title"></td> 69 <td align="center"width="10%" tal:content="row/code"></td>70 <td align="center"width="2%">S<span tal:content="row/semester" /></td>71 <td align="center"width="2%" tal:content="row/credits"></td>72 <td align="center"width="8%" tal:content="row/grade|string:"></td>69 <td width="10%" tal:content="row/code"></td> 70 <td width="2%">S<span tal:content="row/semester" /></td> 71 <td width="2%" tal:content="row/credits"></td> 72 <td width="8%" tal:content="row/grade|string:"></td> 73 73 </tr> 74 74 </table> … … 80 80 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 81 81 <td width="78%" tal:content="row/title"></td> 82 <td align="center"width="10%" tal:content="row/code"></td>83 <td align="center"width="2%">S<span tal:content="row/semester" /></td>84 <td align="center"width="2%" tal:content="row/credits"></td>85 <td align="center"width="8%" tal:content="row/coe|nothing"></td>82 <td width="10%" tal:content="row/code"></td> 83 <td width="2%">S<span tal:content="row/semester" /></td> 84 <td width="2%" tal:content="row/credits"></td> 85 <td width="8%" tal:content="row/coe|nothing"></td> 86 86 </tr> 87 87 <tr> 88 <th colspan="2" align="right">Total Credits:</th> 88 89 <td></td> 89 <th colspan="2">Total Credits:</th> 90 <td align="center" width="2%" tal:content="info/credits_total"></td> 90 <td width="2%" tal:content="info/credits_total"></td> 91 91 </tr> 92 92 </table> -
WAeUP_SRP/trunk/skins/waeup_student/layout_application_edit.pt
r1071 r1861 1 <!-- a layout_lib macro -->2 <!-- $Id$ -->3 4 1 <metal:block define-macro="default_edit" 5 2 tal:define="layout options/layout; -
WAeUP_SRP/trunk/skins/waeup_student/layout_application_view_info.pt
r1579 r1861 1 <!-- a layout_lib macro -->2 <!-- $Id$ -->3 1 <metal:block define-macro="default_view" 4 2 tal:define="layout options/layout; … … 45 43 </tr> 46 44 <tr valign="top"> 47 <td><span class="dlabel"> JAMBRegistration No</span>:45 <td><span class="dlabel">Registration No</span>: 48 46 </td> 49 47 <td> … … 66 64 </tr> 67 65 <tr valign="top"> 68 <td><span class="dlabel"> Level</span>:66 <td><span class="dlabel">Current Session</span>: 69 67 </td> 70 68 <td> 71 <span tal:content=" info/student/level" />69 <span tal:content="python:context.portal_vocabularies.sessions.get(info['student']['session'])" /> 72 70 </td> 73 71 </tr> 72 <tr valign="top"> 73 <td><span class="dlabel">Current Level</span>: 74 </td> 75 <td> 76 <span tal:content="python:context.portal_vocabularies.courselevel.get(info['student']['level'])" /> 77 </td> 78 </tr> 74 79 </table> 75 80 -
WAeUP_SRP/trunk/skins/waeup_student/layout_application_view_slip.pt
r1516 r1861 1 <!-- a layout_lib macro -->2 <!-- $Id$ -->3 1 <metal:block define-macro="default_view" 4 2 tal:define="layout options/layout; -
WAeUP_SRP/trunk/skins/waeup_student/layout_personal_edit.pt
r1167 r1861 1 <!-- a layout_lib macro -->2 <!-- $Id: layout_application_edit.pt 1071 2006-12-16 15:53:13Z joachim $ -->3 4 1 <metal:block define-macro="default_edit" 5 2 tal:define="layout options/layout; -
WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt
r1789 r1861 16 16 view_only info/view_only"> 17 17 18 19 <div style="text-align: right" 20 tal:condition="python:review_state in ('courses_registered','courses_validated',)"> 21 <a href="" target="slip" tal:attributes="href string:course_registration_slip" 22 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> 23 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> 24 Course Registration Slip 25 </a> 26 </div> 27 18 28 19 29 <a href="" … … 90 100 <td align="center" width="2%" tal:content="row/credits"></td> 91 101 <td align="center" width="8%" tal:content="row/coe|nothing"></td> 102 103 104 105 106 <td> 107 <a tal:condition="python:review_state == 'school_fee_paid'" href="edit" tal:attributes="href string:${row/code}/course_edit_form" 108 target="edit" 109 onclick="javascript:window.open('','edit','width=600, height=350, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"> 110 [edit] 111 </a> 112 </td> 113 114 92 115 </tr> 93 116 <tr>
Note: See TracChangeset for help on using the changeset viewer.