Changeset 371 for WAeUP_SRP/trunk
- Timestamp:
- 15 Aug 2006, 09:25:33 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Academics.py
r370 r371 82 82 d['bank_code'] = faculty.get("Bankcode") 83 83 d["degree_grade"] = faculty.get("degree_grade") 84 d['institution_type'] = 'faculty' 84 85 f.getContent().edit(mapping=d) 85 86 return self.academics.academics_contents() -
WAeUP_SRP/trunk/profiles/default/layouts/certificate_course.xml
r368 r371 7 7 <property name="flexible_widgets"/> 8 8 <property name="validate_values_expr"></property> 9 <widget name="Title" meta_type="String Widget"> 10 <property name="title">Title</property> 11 <property name="fields"> 12 <element value="Title"/> 13 </property> 14 <property name="label">Title</property> 15 <property name="label_edit">Title</property> 16 <property name="readonly_layout_modes"/> 17 <property name="hidden_layout_modes"> 18 <element value="create"/> 19 <element value="edit"/> 20 </property> 21 <property name="hidden_readonly_layout_modes"/> 22 </widget> 9 23 <widget name="admin_status" meta_type="String Widget"> 10 24 <property name="title">Admin Status</property> … … 23 37 <element value="certificate_code"/> 24 38 </property> 25 <property name="label">Certificate code</property>26 <property name="label_edit">Certificate code</property>39 <property name="label">Certificate Code</property> 40 <property name="label_edit">Certificate Code</property> 27 41 <property name="readonly_layout_modes"/> 28 42 <property name="hidden_layout_modes"> … … 54 68 <property name="label">Course Code</property> 55 69 <property name="label_edit">Course Code</property> 56 <property name="readonly_layout_modes"/> 70 <property name="readonly_layout_modes"> 71 <element value="edit"/> 72 </property> 57 73 <property name="hidden_layout_modes"/> 58 74 <property name="hidden_readonly_layout_modes"/> … … 77 93 </row> 78 94 <row> 79 <cell name="certificate_code"/>80 </row>81 <row>82 <cell name="certificate_code_org"/>83 </row>84 <row>85 95 <cell name="core_or_elective"/> 86 96 </row> -
WAeUP_SRP/trunk/profiles/default/schemas/certificate.xml
r256 r371 15 15 <field name="n_core" meta_type="CPS Int Field"/> 16 16 <field name="nr_years" meta_type="CPS Int Field"/> 17 <field name="original_code" meta_type="CPS String Field"/> 17 18 <field name="probation_credits" meta_type="CPS Int Field"/> 18 19 <field name="promotion_credits" meta_type="CPS Int Field"/> -
WAeUP_SRP/trunk/profiles/default/schemas/department.xml
r199 r371 1 1 <?xml version="1.0"?> 2 <object name="department" meta_type="CPS Schema"/> 2 <object name="department" meta_type="CPS Schema"> 3 <field name="code" meta_type="CPS String Field"/> 4 </object> -
WAeUP_SRP/trunk/profiles/default/types/Faculty.xml
r370 r371 35 35 <alias from="(Default)" to="academics_contents"/> 36 36 <alias from="create_do" to="waeup_document_create_do"/> 37 <alias from="edit" to="faculty_edit"/>38 <alias from="edit_form" to="faculty_edit_form"/>39 37 <alias from="view" to="academics_contents"/> 40 38 <action title="View" action_id="view" category="object" condition_expr="" -
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents.pt
r370 r371 86 86 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 87 87 (cpsmcat('description_confirm_delete'), )" /> 88 <input type="submit" name="id_rename_form:method" 89 class="context" value="button_rename" i18n:attributes="value" /> 88 <input tal:condition="python: context.portal_type not in ('Semester',)" 89 type="submit" name="id_rename_form:method" 90 class="context" value="Change Object ID" i18n:attributes="value" /> 90 91 </span> 91 92 </span> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents_display_buttons.py
r370 r371 14 14 15 15 #if context.portal_type in ('Department','Certificate','StudyLevel'): 16 if context.portal_type in ('Department','StudyLevel' ):16 if context.portal_type in ('Department','StudyLevel',): 17 17 return None 18 18 return 1 -
WAeUP_SRP/trunk/skins/waeup_default/id_rename.py
r370 r371 9 9 REQUEST = context.REQUEST 10 10 11 if context.portal_type in ('CoursesFolder',): 12 return REQUEST.RESPONSE.redirect(context.absolute_url() + \ 13 ('/academics_contents?portal_status_message=%s' \ 14 % ('Courses cannot be renamed',))) 15 11 16 new_ids = REQUEST['new_ids'] 12 17 new_ids = [id.upper() for id in REQUEST['new_ids']]
Note: See TracChangeset for help on using the changeset viewer.