Changeset 435
- Timestamp:
- 28 Aug 2006, 17:05:19 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r429 r435 33 33 portal_type = meta_type 34 34 security = ClassSecurityInfo() 35 use_catalog_for_folder_contents = True 35 36 36 37 security.declareProtected(ModifyPortalContent,"loadFullTimeStudentsFromCSV")###( -
WAeUP_SRP/trunk/profiles/default/types/Semester.xml
r397 r435 17 17 </property> 18 18 <property name="allow_discussion">False</property> 19 <property name="cps_is_searchable"> True</property>19 <property name="cps_is_searchable">False</property> 20 20 <property name="cps_proxy_type">folder</property> 21 21 <property name="cps_display_as_document_in_listing">True</property> 22 22 <property name="schemas"> 23 <element value="metadata"/>24 <element value="common"/>25 23 </property> 26 24 <property name="layouts"/> 27 25 <property name="layout_clusters"> 28 <element value=" metadata:metadata"/>26 <element value=""/> 29 27 </property> 30 28 <property name="flexible_layouts"/> -
WAeUP_SRP/trunk/profiles/default/types/Student.xml
r428 r435 19 19 </property> 20 20 <property name="allow_discussion">False</property> 21 <property name="cps_is_searchable"> True</property>21 <property name="cps_is_searchable">False</property> 22 22 <property name="cps_proxy_type">folder</property> 23 23 <property name="cps_display_as_document_in_listing">True</property> 24 24 <property name="schemas"> 25 <element value="metadata"/>26 <element value="common"/>27 25 <element value="student"/> 28 26 </property> … … 31 29 </property> 32 30 <property name="layout_clusters"> 33 <element value=" metadata:metadata"/>31 <element value=""/> 34 32 </property> 35 33 <property name="flexible_layouts"/> … … 53 51 <permission value="Modify portal content"/> 54 52 </action> 55 <action title="action_folder_contents" action_id="contents" category="object"56 condition_expr="" url_expr="string:${object/absolute_url}/folder_contents"57 visible="False">58 <permission value="Modify portal content"/>59 </action>60 53 <action title="Personal Data" action_id="PERSONAL" category="object" 61 54 condition_expr="python: object.getContent().memberIsOwner() and getattr(object,'PERSONAL',None)" … … 63 56 <permission value="Modify portal content"/> 64 57 </action> 65 <action title="Register for Next Level" action_id="register_study_level"66 category="object"67 condition_expr="python: object.getContent().memberIsOwner() and not object.getContent().isRegisteredForCurrentLevel()"68 url_expr="string:${object/absolute_url}/register_level" visible="True">69 <permission value="Modify portal content"/>70 </action>71 <action title="Book Accomodation" action_id="book_accomodation"72 category="object"73 condition_expr="python: object.getContent().memberIsOwner() and not object.getContent().accommodationIsBooked()"74 url_expr="string:${object/absolute_url}/book_accommodation"75 visible="True">76 <permission value="Modify portal content"/>77 </action>78 <action title="Pay Hostel Fee" action_id="pay_hostel_fee" category="object"79 condition_expr="python: object.getContent().memberIsOwner() and not object.getContent().accommodationIsPayed()"80 url_expr="string:${object/absolute_url}/pay_hostel_fee" visible="True">81 <permission value="Modify portal content"/>82 </action>83 <action title="(JAMB Data)" action_id="JAMB" category="object"84 condition_expr="python:object.getContent().memberIsOwner()"85 url_expr="string:${object/absolute_url}/JAMB" visible="True">86 <permission value="Modify portal content"/>87 </action>88 <action title="Book AccomModation" action_id="book_accommodation"89 category="object"90 condition_expr="python: object.getContent().memberIsOwner() and not object.getContent().accommodationIsBooked()"91 url_expr="string:${object/absolute_url}/book_accommodation"92 visible="True">93 <permission value="Modify portal content"/>94 </action>95 58 </object> -
WAeUP_SRP/trunk/profiles/default/types/StudentAdmission.xml
r428 r435 13 13 <property name="allowed_content_types"/> 14 14 <property name="allow_discussion">False</property> 15 <property name="cps_is_searchable"> True</property>15 <property name="cps_is_searchable">False</property> 16 16 <property name="cps_proxy_type">document</property> 17 17 <property name="cps_display_as_document_in_listing">True</property> 18 18 <property name="schemas"> 19 <element value="metadata"/>20 <element value="common"/>21 19 <element value="student_admission"/> 22 20 </property> … … 25 23 </property> 26 24 <property name="layout_clusters"> 27 <element value=" metadata:metadata"/>25 <element value=""/> 28 26 </property> 29 27 <property name="flexible_layouts"/> … … 44 42 <permission value="Modify portal content"/> 45 43 </action> 46 <action title="action_metadata" action_id="metadata" category="object"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>51 44 </object> -
WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml
r428 r435 13 13 <property name="allowed_content_types"/> 14 14 <property name="allow_discussion">False</property> 15 <property name="cps_is_searchable"> True</property>15 <property name="cps_is_searchable">False</property> 16 16 <property name="cps_proxy_type">document</property> 17 17 <property name="cps_display_as_document_in_listing">True</property> 18 18 <property name="schemas"> 19 <element value="metadata"/>20 <element value="common"/>21 19 <element value="student_clearance"/> 22 20 </property> … … 25 23 </property> 26 24 <property name="layout_clusters"> 27 <element value=" metadata:metadata"/>25 <element value=""/> 28 26 </property> 29 27 <property name="flexible_layouts"/> … … 44 42 <permission value="Modify portal content"/> 45 43 </action> 46 <action title="action_metadata" action_id="metadata" category="object"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>51 44 </object> -
WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml
r428 r435 17 17 <property name="cps_display_as_document_in_listing">True</property> 18 18 <property name="schemas"> 19 <element value="metadata"/>20 <element value="common"/>21 19 <element value="student_personal"/> 22 20 </property> … … 25 23 </property> 26 24 <property name="layout_clusters"> 27 <element value=" metadata:metadata"/>25 <element value=""/> 28 26 </property> 29 27 <property name="flexible_layouts"/> … … 43 41 <permission value="Modify portal content"/> 44 42 </action> 45 <action title="action_metadata" action_id="metadata" category="object"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>50 43 </object> -
WAeUP_SRP/trunk/profiles/default/types/StudentStudyCourse.xml
r396 r435 15 15 </property> 16 16 <property name="allow_discussion">False</property> 17 <property name="cps_is_searchable"> True</property>17 <property name="cps_is_searchable">False</property> 18 18 <property name="cps_proxy_type">folder</property> 19 19 <property name="cps_display_as_document_in_listing">True</property> 20 20 <property name="schemas"> 21 <element value="metadata"/>22 <element value="common"/>23 21 <element value="student_study_course"/> 24 22 </property> 25 23 <property name="layouts"> 26 <element value="common"/>27 24 <element value="student_study_course"/> 28 25 </property> 29 26 <property name="layout_clusters"> 30 <element value=" metadata:metadata"/>27 <element value=""/> 31 28 </property> 32 29 <property name="flexible_layouts"/> … … 39 36 <permission value="View"/> 40 37 </action> 41 <action title="action_metadata" action_id="metadata" category="object"42 condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata"43 visible="False"/>44 38 <action title="Delegate" action_id="localroles" category="object" 45 39 condition_expr="" url_expr="string:${object_url}/folder_localrole_form" … … 47 41 <permission value="Modify portal content"/> 48 42 </action> 49 <action title="action_folder_contents" action_id="contents" category="object"50 condition_expr="" url_expr="string:${object/absolute_url}/folder_contents"51 visible="False"/>52 <action title="Register for Next Level" action_id="register_study_level"53 category="object" condition_expr=""54 url_expr="string:${object/absolute_url}/register_level" visible="True">55 <permission value="Modify portal content"/>56 </action>57 43 </object> -
WAeUP_SRP/trunk/profiles/default/types/StudyLevel.xml
r370 r435 15 15 </property> 16 16 <property name="allow_discussion">False</property> 17 <property name="cps_is_searchable"> True</property>17 <property name="cps_is_searchable">False</property> 18 18 <property name="cps_proxy_type">folder</property> 19 19 <property name="cps_display_as_document_in_listing">True</property> 20 20 <property name="schemas"> 21 <element value="metadata"/>22 <element value="common"/>23 21 <element value="study_level"/> 24 22 </property> … … 27 25 </property> 28 26 <property name="layout_clusters"> 29 <element value=" metadata:metadata"/>27 <element value=""/> 30 28 </property> 31 29 <property name="flexible_layouts"/> … … 39 37 <permission value="View"/> 40 38 </action> 41 <action title="Register for Next Year" action_id="new_entry"42 category="object"43 condition_expr="python:member and 'Student' in member.getRoles()"44 url_expr="string:${object_url}/register_level" visible="True"/>45 <action title="action_metadata" action_id="metadata" category="object"46 condition_expr="python:member and 'Manager' in member.getRoles()"47 url_expr="string:${object_url}/cpsdocument_metadata" visible="False"/>48 <action title="Delegate" action_id="localroles" category="object"49 condition_expr="" url_expr="string:${object_url}/folder_localrole_form"50 visible="False"/>51 39 </object> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_content_lib_info_detail_tab.pt
r430 r435 98 98 </td> 99 99 </span> 100 <td align="center" tal:condition="type_in_tabs" 101 tal:define="draggableclass python:test(not no_form and sort_by is None, 'draggable droppable', ''); 102 draggableid python:'draggable'+str(item.getId()); 103 draggablemouseover 104 python:test(not no_form and sort_by is None, 'setCursor(this, \'move\')', '')"> 105 <div tal:attributes="class draggableclass; id draggableid; onmouseover draggablemouseover"> 100 <td align="center" tal:condition="type_in_tabs"> 106 101 <img tal:replace="structure python:here.getImgTag(info['icon'], 107 102 base_url=base_url, title=info['type'])" /> 108 </div>109 103 </td> 110 104 <td tal:condition="title_in_tabs"> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents.pt
r432 r435 157 157 <tal:block define="info python:here.getContentInfo(item, level=1, cpsmcat=cpsmcat); 158 158 review_state python:info['review_state']; 159 proxy_creator python:item.Creator();160 159 start repeat/item/start|nothing; 161 160 end repeat/item/end|nothing">
Note: See TracChangeset for help on using the changeset viewer.