Changeset 379 for WAeUP_SRP/trunk
- Timestamp:
- 16 Aug 2006, 08:12:45 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Academics.py
r371 r379 83 83 d["degree_grade"] = faculty.get("degree_grade") 84 84 d['institution_type'] = 'faculty' 85 d['Description'] = '' 86 d['college_code'] = faculty.get('CollegeCode') 85 87 f.getContent().edit(mapping=d) 86 88 return self.academics.academics_contents() … … 197 199 if len(course_id) == 3: 198 200 course_id = "%s000" % course_id 199 ## elif course_id.startswith('CHEM'):200 ## tid = course_id.replace('CHEM','CHE')201 ## logger.info("invalid course_code %(course_id)s renaming to %(tid)s" % vars())202 ## course_id = tid203 ## elif course_id.startswith('DAIC'):204 ## tid = course_id.replace('DAIC','DAC')205 ## logger.info("invalid course_code %(course_id)s renaming to %(tid)s" % vars())206 ## course_id = tid207 ## elif course_id.startswith('DAIM'):208 ## tid = course_id.replace('DAIM','DAM')209 ## logger.info("invalid course_code %(course_id)s renaming to %(tid)s" % vars())210 ## course_id = tid211 201 elif len(course_id) > 10: 212 202 logger.info("invalid course_code %(CourseCode)s" % course) … … 230 220 dict['session'] = course.get('Session') 231 221 dict['category'] = course.get('Category') 222 dict['adm_status'] = course.get('AdmStatus') 223 dict['former_code'] = course.get('FORMERCODE') 232 224 pm = course.get('PassMark') 233 225 if pm.find(',') > -1: -
WAeUP_SRP/trunk/profiles/default/layouts/certificate.xml
r370 r379 40 40 <property name="hidden_readonly_layout_modes"/> 41 41 <property name="vocabulary">courselevel</property> 42 </widget> 43 <widget name="m_prefix" meta_type="String Widget"> 44 <property name="title">MPREFIX</property> 45 <property name="fields"> 46 <element value="m_prefix"/> 47 </property> 48 <property name="label">MPREFIX</property> 49 <property name="label_edit">MPREFIX</property> 50 <property name="readonly_layout_modes"/> 51 <property name="hidden_layout_modes"/> 52 <property name="hidden_readonly_layout_modes"/> 53 </widget> 54 <widget name="max_elect" meta_type="String Widget"> 55 <property name="title">Max Elect</property> 56 <property name="fields"> 57 <element value="max_elect"/> 58 </property> 59 <property name="label">Max Elect</property> 60 <property name="label_edit">Max Elect</property> 61 <property name="readonly_layout_modes"/> 62 <property name="hidden_layout_modes"/> 63 <property name="hidden_readonly_layout_modes"/> 42 64 </widget> 43 65 <widget name="max_load" meta_type="Int Widget"> … … 146 168 </row> 147 169 <row> 170 <cell name="max_load"/> 171 </row> 172 <row> 148 173 <cell name="promotion_credits"/> 149 174 </row> … … 163 188 <cell name="n_core"/> 164 189 </row> 190 <row> 191 <cell name="max_elect"/> 192 </row> 193 <row> 194 <cell name="m_prefix"/> 195 </row> 165 196 </table> 166 197 </object> -
WAeUP_SRP/trunk/profiles/default/layouts/course.xml
r376 r379 7 7 <property name="flexible_widgets"/> 8 8 <property name="validate_values_expr"></property> 9 <widget name="adm_status" meta_type="String Widget"> 10 <property name="title">Adm Status</property> 11 <property name="fields"> 12 <element value="adm_status"/> 13 </property> 14 <property name="label">Adm Status</property> 15 <property name="label_edit">Adm Status</property> 16 <property name="readonly_layout_modes"/> 17 <property name="hidden_layout_modes"/> 18 <property name="hidden_readonly_layout_modes"/> 19 </widget> 9 20 <widget name="category" meta_type="String Widget"> 10 21 <property name="title">Category</property> … … 25 36 <property name="label">Credits</property> 26 37 <property name="label_edit">Credits</property> 38 <property name="readonly_layout_modes"/> 39 <property name="hidden_layout_modes"/> 40 <property name="hidden_readonly_layout_modes"/> 41 </widget> 42 <widget name="former_code" meta_type="String Widget"> 43 <property name="title">Former Code</property> 44 <property name="fields"> 45 <element value="former_code"/> 46 </property> 47 <property name="label">Former Code</property> 48 <property name="label_edit">Former Code</property> 27 49 <property name="readonly_layout_modes"/> 28 50 <property name="hidden_layout_modes"/> -
WAeUP_SRP/trunk/profiles/default/layouts/faculty.xml
r370 r379 39 39 <property name="hidden_readonly_layout_modes"/> 40 40 </widget> 41 <widget name="college_code" meta_type="String Widget"> 42 <property name="title">College Code</property> 43 <property name="fields"> 44 <element value="college_code"/> 45 </property> 46 <property name="label">College Code</property> 47 <property name="label_edit">College Code</property> 48 <property name="readonly_layout_modes"/> 49 <property name="hidden_layout_modes"/> 50 <property name="hidden_readonly_layout_modes"/> 51 </widget> 41 52 <widget name="degree_grade" meta_type="String Widget"> 42 53 <property name="title">Degree Grade</property> … … 75 86 <cell name="degree_grade"/> 76 87 </row> 88 <row> 89 <cell name="college_code"/> 90 </row> 77 91 </table> 78 92 </object> -
WAeUP_SRP/trunk/profiles/default/schemas/certificate.xml
r371 r379 11 11 <field name="heading" meta_type="CPS String Field"/> 12 12 <field name="m_prefix" meta_type="CPS String Field"/> 13 <field name="max_elect" meta_type="CPS String Field"/> 13 14 <field name="max_load" meta_type="CPS Int Field"/> 14 15 <field name="max_pass" meta_type="CPS Int Field"/> -
WAeUP_SRP/trunk/profiles/default/schemas/course.xml
r256 r379 1 1 <?xml version="1.0"?> 2 2 <object name="course" meta_type="CPS Schema"> 3 <field name="adm_status" meta_type="CPS String Field"/> 3 4 <field name="category" meta_type="CPS String Field"/> 4 5 <field name="code" meta_type="CPS String Field"> … … 6 7 </field> 7 8 <field name="credits" meta_type="CPS Int Field"/> 9 <field name="former_code" meta_type="CPS String Field"/> 8 10 <field name="org_code" meta_type="CPS String Field"> 9 11 <property name="is_searchabletext">True</property> -
WAeUP_SRP/trunk/profiles/default/schemas/faculty.xml
r370 r379 3 3 <field name="bank_code" meta_type="CPS String Field"/> 4 4 <field name="code" meta_type="CPS String Field"/> 5 <field name="college_code" meta_type="CPS String Field"/> 5 6 <field name="degree_grade" meta_type="CPS String Field"/> 6 7 <field name="institution_type" meta_type="CPS String Field"/>
Note: See TracChangeset for help on using the changeset viewer.