Changeset 556
- Timestamp:
- 26 Sep 2006, 11:04:01 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 8 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/certificate_course.xml
r486 r556 69 69 <property name="label">Course Code</property> 70 70 <property name="label_edit">Course Code</property> 71 <property name="readonly_layout_modes"> 71 <property name="readonly_layout_modes"/> 72 <property name="hidden_layout_modes"> 73 <element value="view"/> 72 74 <element value="edit"/> 73 75 </property> 76 <property name="hidden_readonly_layout_modes"/> 77 </widget> 78 <widget name="code_neu" meta_type="ExtendedSelect Widget"> 79 <property name="title">Course Code</property> 80 <property name="fields"> 81 <element value="code"/> 82 </property> 83 <property name="is_required">True</property> 84 <property name="label">Course Code</property> 85 <property name="label_edit">Course Code</property> 86 <property name="readonly_layout_modes"/> 74 87 <property name="hidden_layout_modes"/> 75 88 <property name="hidden_readonly_layout_modes"/> 89 <property name="vocabulary">courses_voc</property> 76 90 </widget> 77 91 <widget name="core_or_elective" meta_type="Boolean Widget"> … … 88 102 <property name="label_true">core</property> 89 103 </widget> 104 <widget name="semester" meta_type="Select Widget"> 105 <property name="title">Semester</property> 106 <property name="fields"> 107 <element value="semester"/> 108 </property> 109 <property name="label">Semester</property> 110 <property name="label_edit">Semester</property> 111 <property name="readonly_layout_modes"/> 112 <property name="hidden_layout_modes"/> 113 <property name="hidden_readonly_layout_modes"/> 114 <property name="vocabulary">semester_voc</property> 115 </widget> 90 116 <table> 91 117 <row> 92 118 <cell name="Title"/> 119 </row> 120 <row> 121 <cell name="semester"/> 93 122 </row> 94 123 <row> -
WAeUP_SRP/trunk/profiles/default/layouts/faculty.xml
r551 r556 51 51 <property name="hidden_layout_modes"> 52 52 <element value="edit"/> 53 <element value="view"/> 53 54 </property> 54 55 <property name="hidden_readonly_layout_modes"/> -
WAeUP_SRP/trunk/profiles/default/layouts/study_level.xml
r486 r556 16 16 <property name="label_edit">Level No</property> 17 17 <property name="readonly_layout_modes"/> 18 <property name="hidden_layout_modes"/> 18 <property name="hidden_layout_modes"> 19 <element value="edit"/> 20 <element value="view"/> 21 </property> 19 22 <property name="hidden_readonly_layout_modes"/> 20 23 </widget> -
WAeUP_SRP/trunk/profiles/default/schemas/certificate_course.xml
r486 r556 5 5 <field name="certificate_code_org" meta_type="CPS String Field"/> 6 6 <field name="code" meta_type="CPS String Field"> 7 <property name="is_searchabletext"> True</property>7 <property name="is_searchabletext">False</property> 8 8 </field> 9 9 <field name="core_or_elective" meta_type="CPS Boolean Field"/> 10 <field name="semester" meta_type="CPS String Field"/> 10 11 <field name="department" meta_type="CPS String Field"/> 11 12 <field name="level" meta_type="CPS String Field"/> -
WAeUP_SRP/trunk/profiles/default/vocabularies/semester_voc.xml
r486 r556 5 5 <property name="description"></property> 6 6 <property name="acl_write_roles">Manager</property> 7 <item key=" 1" msgid="">1st</item>8 <item key=" 2" msgid="">2nd</item>7 <item key="first" msgid="">First Semester</item> 8 <item key="second" msgid="">Second Semester</item> 9 9 </object> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py
r555 r556 33 33 elif context.portal_type == 'Department': 34 34 return context.department_index_view() 35 ## elif context.portal_type == 'Course': 36 ## return context.course_index_view() 35 elif context.portal_type == 'CoursesFolder': 36 return context.courses_index_view() 37 elif context.portal_type == 'Certificate': 38 return context.certificate_index_view() 39 elif context.portal_type == 'StudyLevel': 40 return context.level_index_view() 41 elif context.portal_type in ('CertificateCourse','Course'): 42 return context.academics_document_view() 37 43 return redirect("%s/academics_contents" % context.absolute_url()) 38 44 if isStudent: -
WAeUP_SRP/trunk/skins/waeup_academics/department_index_view.pt
r552 r556 9 9 Up one level 10 10 </a> 11 <h1 tal:content="here/title_or_id"> 12 Page Title 13 </h1> 11 <h3 tal:content="here/title_or_id" /> 14 12 <div tal:condition="nothing" tal:content="info/container_path"/> 15 13 </metal:block> … … 34 32 <tr tal:repeat="row certs" 35 33 tal:attributes="class python:test(repeat['row'].odd(), 'even ajaxtd', 'odd ajaxtd')"> 36 <td align="left" valign="middle" style="width: 5px;" 37 tal:condition="is_manager"> 38 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 39 tal:condition="is_manager" 40 tal:define="id row/id" 41 tal:attributes="value id; 42 id python:'cb_' + id; 43 checked python:id in info['choosen_ids'];" 44 /> 34 <td align="left" valign="middle" style="width: 5px;"> 45 35 </td> 46 36 <td><a href="view" tal:attributes="href string:${row/url}"> 47 <s trongtal:content="row/title" /></a> </td>37 <span tal:content="row/title" /></a> </td> 48 38 <td tal:content="row/id"> </td> 49 <td><a href="edit" tal:attributes="href string:${row/url}/cpsdocument_edit_form">[edit]</a></td>50 39 </tr> 51 40 </table> 52 <table width="100%" cellspacing="0" cellpadding="2" 53 summary="contents of the folder" 41 <table tal:condition="nothing" width="100%" cellspacing="0" cellpadding="2" 54 42 class="folderButtons"> 55 43 <tr> -
WAeUP_SRP/trunk/skins/waeup_academics/faculty_index_view.pt
r551 r556 9 9 Up one level 10 10 </a> 11 <h1 tal:content="here/title_or_id"> 12 Page Title 13 </h1> 11 <h3 tal:content="here/title_or_id" /> 14 12 <div tal:condition="python:0" tal:content="info/container_path"/> 15 13 </metal:block>
Note: See TracChangeset for help on using the changeset viewer.