Changeset 428 for WAeUP_SRP/trunk/profiles
- Timestamp:
- 26 Aug 2006, 10:30:48 (18 years ago)
- Location:
- WAeUP_SRP/trunk/profiles/default
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/student.xml
r362 r428 7 7 <property name="flexible_widgets"/> 8 8 <property name="validate_values_expr"></property> 9 <widget name="accommodation" meta_type="String Widget">10 <property name="title">Accommodation</property>11 <property name="fields">12 <element value="accommodation"/>13 </property>14 <property name="label">Accommodation</property>15 <property name="label_edit">Accommodation</property>16 <property name="readonly_layout_modes"/>17 <property name="hidden_layout_modes"/>18 <property name="hidden_readonly_layout_modes"/>19 <property name="display_width">10</property>20 </widget>21 <widget name="accommodation_date" meta_type="DateTime Widget">22 <property name="title">Accommodation SC PIN</property>23 <property name="fields">24 <element value="accommodation_date"/>25 </property>26 <property name="label">Accommodation SC Date</property>27 <property name="label_edit">Accommodation SC Date</property>28 <property name="readonly_layout_modes"/>29 <property name="hidden_layout_modes"/>30 <property name="hidden_readonly_layout_modes"/>31 </widget>32 <widget name="accommodation_sc_id" meta_type="String Widget">33 <property name="title">Accommodation SC ID</property>34 <property name="fields">35 <element value="accommodation_sc_id"/>36 </property>37 <property name="label">Accommodation SC ID</property>38 <property name="label_edit">Accommodation SC ID</property>39 <property name="readonly_layout_modes"/>40 <property name="hidden_layout_modes"/>41 <property name="hidden_readonly_layout_modes"/>42 <property name="display_width">10</property>43 </widget>44 <widget name="accommodation_sc_pin" meta_type="String Widget">45 <property name="title">Accommodation SC PIN</property>46 <property name="fields">47 <element value="accommodation_sc_pin"/>48 </property>49 <property name="label">Accommodation SC PIN</property>50 <property name="label_edit">Accommodation SC PIN</property>51 <property name="readonly_layout_modes"/>52 <property name="hidden_layout_modes"/>53 <property name="hidden_readonly_layout_modes"/>54 <property name="display_width">10</property>55 </widget>56 <widget name="accommodation_sc_value" meta_type="Float Widget">57 <property name="title">Accommodation SC Value</property>58 <property name="fields">59 <element value="accommodation_sc_value"/>60 </property>61 <property name="label">Accommodation SC Value</property>62 <property name="label_edit">Accommodation SC Value</property>63 <property name="readonly_layout_modes"/>64 <property name="hidden_layout_modes"/>65 <property name="hidden_readonly_layout_modes"/>66 </widget>67 <widget name="adm_check_date" meta_type="DateTime Widget">68 <property name="title">Admission check SC PIN</property>69 <property name="fields">70 <element value="adm_check_date"/>71 </property>72 <property name="label">Admission check SC Date</property>73 <property name="label_edit">Admission check SC Date</property>74 <property name="readonly_layout_modes"/>75 <property name="hidden_layout_modes"/>76 <property name="hidden_readonly_layout_modes"/>77 </widget>78 <widget name="adm_check_sc_id" meta_type="String Widget">79 <property name="title">Admission check SC ID</property>80 <property name="fields">81 <element value="adm_check_sc_id"/>82 </property>83 <property name="label">Admission check SC ID</property>84 <property name="label_edit">Admission check SC ID</property>85 <property name="readonly_layout_modes"/>86 <property name="hidden_layout_modes"/>87 <property name="hidden_readonly_layout_modes"/>88 <property name="display_width">10</property>89 </widget>90 <widget name="adm_check_sc_pin" meta_type="String Widget">91 <property name="title">Admission check SC PIN</property>92 <property name="fields">93 <element value="adm_check_sc_pin"/>94 </property>95 <property name="label">Admission check SC PIN</property>96 <property name="label_edit">Admission check SC PIN</property>97 <property name="readonly_layout_modes"/>98 <property name="hidden_layout_modes"/>99 <property name="hidden_readonly_layout_modes"/>100 <property name="display_width">10</property>101 </widget>102 <widget name="adm_check_sc_value" meta_type="Float Widget">103 <property name="title">Admission check SC Value</property>104 <property name="fields">105 <element value="adm_check_sc_value"/>106 </property>107 <property name="label">Admission check SC Value</property>108 <property name="label_edit">Admission check SC Value</property>109 <property name="readonly_layout_modes"/>110 <property name="hidden_layout_modes"/>111 <property name="hidden_readonly_layout_modes"/>112 </widget>113 <widget name="clearance_date" meta_type="DateTime Widget">114 <property name="title">clearance SC PIN</property>115 <property name="fields">116 <element value="clearance_date"/>117 </property>118 <property name="label">Clearance SC Date</property>119 <property name="label_edit">Clearance SC Date</property>120 <property name="readonly_layout_modes"/>121 <property name="hidden_layout_modes"/>122 <property name="hidden_readonly_layout_modes"/>123 </widget>124 <widget name="clearance_sc_id" meta_type="String Widget">125 <property name="title">Clearance SC ID</property>126 <property name="fields">127 <element value="clearance_sc_id"/>128 </property>129 <property name="label">Clearance SC ID</property>130 <property name="label_edit">Clearance SC ID</property>131 <property name="readonly_layout_modes"/>132 <property name="hidden_layout_modes"/>133 <property name="hidden_readonly_layout_modes"/>134 <property name="display_width">10</property>135 </widget>136 <widget name="clearance_sc_pin" meta_type="String Widget">137 <property name="title">clearance SC PIN</property>138 <property name="fields">139 <element value="clearance_sc_pin"/>140 </property>141 <property name="label">Clearance SC PIN</property>142 <property name="label_edit">Clearance SC PIN</property>143 <property name="readonly_layout_modes"/>144 <property name="hidden_layout_modes"/>145 <property name="hidden_readonly_layout_modes"/>146 <property name="display_width">10</property>147 </widget>148 <widget name="clearance_sc_value" meta_type="Float Widget">149 <property name="title">clearance SC Value</property>150 <property name="fields">151 <element value="clearance_sc_value"/>152 </property>153 <property name="label">Clearance SC Value</property>154 <property name="label_edit">Clearance SC Value</property>155 <property name="readonly_layout_modes"/>156 <property name="hidden_layout_modes"/>157 <property name="hidden_readonly_layout_modes"/>158 </widget>159 <widget name="faculty" meta_type="String Widget">160 <property name="title">Faculty</property>161 <property name="fields">162 <element value="faculty"/>163 </property>164 <property name="label">Faculty</property>165 <property name="label_edit">Faculty</property>166 <property name="readonly_layout_modes"/>167 <property name="hidden_layout_modes"/>168 <property name="hidden_readonly_layout_modes"/>169 <property name="display_width">10</property>170 </widget>171 <widget name="hostel_fee_date" meta_type="DateTime Widget">172 <property name="title">hostel_fee SC PIN</property>173 <property name="fields">174 <element value="hostel_fee_date"/>175 </property>176 <property name="label">Hostel Fee SC Date</property>177 <property name="label_edit">Hostel Fee SC Date</property>178 <property name="readonly_layout_modes"/>179 <property name="hidden_layout_modes"/>180 <property name="hidden_readonly_layout_modes"/>181 </widget>182 <widget name="hostel_fee_sc_id" meta_type="String Widget">183 <property name="title">hostel_fee SC ID</property>184 <property name="fields">185 <element value="hostel_fee_sc_id"/>186 </property>187 <property name="label">Hostel Fee SC ID</property>188 <property name="label_edit">Hostel Fee SC ID</property>189 <property name="readonly_layout_modes"/>190 <property name="hidden_layout_modes"/>191 <property name="hidden_readonly_layout_modes"/>192 <property name="display_width">10</property>193 </widget>194 <widget name="hostel_fee_sc_pin" meta_type="String Widget">195 <property name="title">hostel_fee SC PIN</property>196 <property name="fields">197 <element value="hostel_fee_sc_pin"/>198 </property>199 <property name="label">Hostel Fee SC PIN</property>200 <property name="label_edit">Hostel Fee SC PIN</property>201 <property name="readonly_layout_modes"/>202 <property name="hidden_layout_modes"/>203 <property name="hidden_readonly_layout_modes"/>204 <property name="display_width">10</property>205 </widget>206 <widget name="hostel_fee_sc_value" meta_type="Float Widget">207 <property name="title">hostel_fee SC Value</property>208 <property name="fields">209 <element value="hostel_fee_sc_value"/>210 </property>211 <property name="label">Hostel Fee SC Value</property>212 <property name="label_edit">Hostel Fee SC Value</property>213 <property name="readonly_layout_modes"/>214 <property name="hidden_layout_modes"/>215 <property name="hidden_readonly_layout_modes"/>216 </widget>217 <widget name="jamb_is_admitted" meta_type="Boolean Widget">218 <property name="title">JAMB Admission</property>219 <property name="fields">220 <element value="jamb_is_admitted"/>221 </property>222 <property name="label">JAMB Admission</property>223 <property name="label_edit">JAMB Admission</property>224 <property name="readonly_layout_modes"/>225 <property name="hidden_layout_modes"/>226 <property name="hidden_readonly_layout_modes"/>227 </widget>228 <table/>229 9 </object> -
WAeUP_SRP/trunk/profiles/default/types/Student.xml
r427 r428 39 39 <alias from="view" to="academics_contents"/> 40 40 <action title="Standard View" action_id="view" category="object" 41 condition_expr="python:object.getContent().memberIsOwner() or (member and ' UniversityManager'in member.getRoles())"42 url_expr="string:${object_url}/ temporary_view_all" visible="True">41 condition_expr="python:object.getContent().memberIsOwner() or (member and 'SectionManager'in member.getRoles())" 42 url_expr="string:${object_url}/academics_contents" visible="True"> 43 43 <permission value="View"/> 44 44 </action> … … 61 61 condition_expr="python: object.getContent().memberIsOwner() and getattr(object,'PERSONAL',None)" 62 62 url_expr="string:${object/absolute_url}/PERSONAL" visible="True"> 63 <permission value="Modify portal content"/>64 </action>65 <action title="Eligibility Data" action_id="eligibility" category="object"66 condition_expr="object/memberIsOwner"67 url_expr="string:${object_url}/ELIGIBILITY" visible="True">68 <permission value="Modify portal content"/>69 </action>70 <action title="Scanned Documents" action_id="DOCUMENTS" category="object"71 condition_expr="python: object.getContent().memberIsOwner() and getattr(object,'PERSONAL',None)"72 url_expr="string:${object/absolute_url}/DOCUMENTS" visible="True">73 63 <permission value="Modify portal content"/> 74 64 </action> -
WAeUP_SRP/trunk/profiles/default/types/StudentAdmission.xml
r427 r428 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addStudentAdmission</property> 10 <property name="immediate_view"> </property>10 <property name="immediate_view">academics_contents</property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> … … 30 30 <property name="storage_methods"/> 31 31 <property name="cps_is_portlet">False</property> 32 <alias from="(Default)" to="cpsdocument_view"/> 33 <alias from="view" to="cpsdocument_view"/> 34 <action title="View" action_id="view" category="object" condition_expr="" 35 url_expr="string:${object_url}/cpsdocument_view" visible="True"> 32 <alias from="(Default)" to="academics_contents"/> 33 <alias from="view" to="academics_contents"/> 34 <action title="Standard View" action_id="view" category="object" 35 condition_expr="" 36 url_expr="string:${object_url}/academics_contents" 37 visible="True"> 36 38 <permission value="View"/> 37 39 </action> … … 43 45 </action> 44 46 <action title="action_metadata" action_id="metadata" category="object" 45 condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata" 46 visible="False"/> 47 condition_expr="python:member and 'Manager' in member.getRoles()" 48 url_expr="string:${object_url}/cpsdocument_metadata" visible="False"> 49 <permission value="Modify portal content"/> 50 </action> 47 51 </object> -
WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml
r427 r428 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addStudentClearance</property> 10 <property name="immediate_view"> </property>10 <property name="immediate_view">academics_contents</property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> … … 24 24 <element value="student_clearance"/> 25 25 </property> 26 <property name="layout_clusters"/> 26 <property name="layout_clusters"> 27 <element value="metadata:metadata"/> 28 </property> 27 29 <property name="flexible_layouts"/> 28 30 <property name="storage_methods"/> 29 31 <property name="cps_is_portlet">False</property> 30 <alias from="(Default)" to=" cpsdocument_view"/>31 <alias from="view" to=" cpsdocument_view"/>32 <alias from="(Default)" to="academics_contents"/> 33 <alias from="view" to="academics_contents"/> 32 34 <action title="Standard View" action_id="view" category="object" 33 condition_expr="" url_expr="string:${object_url}/cpsdocument_view" 35 condition_expr="" 36 url_expr="string:${object_url}/academics_contents" 34 37 visible="True"> 35 38 <permission value="View"/> 36 39 </action> 37 40 <action title="action_edit" action_id="edit" category="object" 38 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form" 41 condition_expr="" 42 url_expr="string:${object_url}/cpsdocument_edit_form" 39 43 visible="True"> 40 44 <permission value="Modify portal content"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml
r427 r428 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addStudentPersonal</property> 10 <property name="immediate_view"> </property>10 <property name="immediate_view">academics_contents</property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> … … 30 30 <property name="storage_methods"/> 31 31 <property name="cps_is_portlet">False</property> 32 <alias from="(Default)" to=" cpsdocument_view"/>33 <alias from="view" to=" cpsdocument_view"/>32 <alias from="(Default)" to="academics_contents"/> 33 <alias from="view" to="academics_contents"/> 34 34 <action title="Standard View" action_id="view" category="object" 35 condition_expr="" url_expr="string:${object_url}/cpsdocument_view" 35 condition_expr="" 36 url_expr="string:${object_url}/academics_contents" 36 37 visible="True"> 37 38 <permission value="View"/> … … 43 44 </action> 44 45 <action title="action_metadata" action_id="metadata" category="object" 45 condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata" 46 visible="False"/> 46 condition_expr="python:member and 'Manager' in member.getRoles()" 47 url_expr="string:${object_url}/cpsdocument_metadata" visible="False"> 48 <permission value="Modify portal content"/> 49 </action> 47 50 </object>
Note: See TracChangeset for help on using the changeset viewer.