Changeset 332
- Timestamp:
- 18 Jul 2006, 09:54:24 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Academics.py
r329 r332 385 385 certificate.orderObjects('id') 386 386 first_s = getattr(l,'first') 387 first_s.getContent().edit(mapping={'Title': 'First Semester'}) 387 388 second_s = getattr(l,'second') 389 second_s.getContent().edit(mapping={'Title': 'Second Semester'}) 388 390 if cert_course.get('Semester') == '1': 389 391 semester = first_s -
WAeUP_SRP/trunk/profiles/default/layouts/certificate.xml
r329 r332 3 3 <property name="layout_create_method"></property> 4 4 <property name="layout_edit_method"></property> 5 <property name="layout_view_method"> layout_waeup_fancy_view</property>6 <property name="style_prefix">layout_ default_</property>5 <property name="layout_view_method"></property> 6 <property name="style_prefix">layout_waeup_</property> 7 7 <property name="flexible_widgets"/> 8 8 <property name="validate_values_expr"></property> -
WAeUP_SRP/trunk/profiles/default/types/AccoFolder.xml
r326 r332 24 24 <property name="layouts"> 25 25 <element value="common"/> 26 <element value="metadata"/>27 26 </property> 28 27 <property name="layout_clusters"> -
WAeUP_SRP/trunk/profiles/default/types/Semester.xml
r319 r332 32 32 <property name="storage_methods"/> 33 33 <property name="cps_is_portlet">False</property> 34 <alias from="(Default)" to=" temporary_view_all"/>35 <alias from="view" to=" temporary_view_all"/>34 <alias from="(Default)" to="academics_contents"/> 35 <alias from="view" to="academics_contents"/> 36 36 <action title="Standard View" action_id="view" category="object" 37 condition_expr="" url_expr="string:${object_url}/ temporary_view_all"37 condition_expr="" url_expr="string:${object_url}/academics_contents" 38 38 visible="True"> 39 39 <permission value="View"/> … … 41 41 <action title="Book Semester Courses" action_id="book_semester_courses" 42 42 category="object" condition_expr="" 43 url_expr="string:${object_url}/book_semester_courses" visible=" True">43 url_expr="string:${object_url}/book_semester_courses" visible="False"> 44 44 <permission value="Take ownership"/> 45 45 </action> … … 48 48 url_expr="string:${object_url}/cpsdocument_metadata" visible="False"> 49 49 <permission value="Modify portal content"/> 50 <permission value="University Manage"/>51 50 </action> 52 51 <action title="Delegate" action_id="localroles" category="object" … … 54 53 visible="False"> 55 54 <permission value="Modify portal content"/> 56 <permission value="University Manage"/>57 <permission value="Student Manage"/>58 55 </action> 56 <action title="Add Course" action_id="new_entry" category="object" 57 condition_expr="" 58 url_expr="string:${object_url}/content_create?type_name=Course" 59 visible="True"/> 59 60 </object> -
WAeUP_SRP/trunk/profiles/default/types/StudentsFolder.xml
r326 r332 25 25 <property name="layouts"> 26 26 <element value="common"/> 27 <element value="metadata"/>28 27 </property> 29 28 <property name="layout_clusters"> -
WAeUP_SRP/trunk/profiles/default/types/StudyLevel.xml
r326 r332 22 22 <element value="common"/> 23 23 </property> 24 <property name="layouts"> 25 <element value="waeup_common"/> 26 </property> 24 <property name="layouts"/> 27 25 <property name="layout_clusters"> 28 26 <element value="metadata:metadata"/> … … 31 29 <property name="storage_methods"/> 32 30 <property name="cps_is_portlet">False</property> 33 <alias from="(Default)" to=" level_view"/>31 <alias from="(Default)" to="academics_contents"/> 34 32 <alias from="created" to="level_created"/> 35 <alias from="view" to=" level_view"/>33 <alias from="view" to="academics_contents"/> 36 34 <action title="View" action_id="view" category="object" condition_expr="" 37 url_expr="string:${object_url}/ level_view" visible="True">35 url_expr="string:${object_url}/academics_contents" visible="True"> 38 36 <permission value="View"/> 39 37 </action> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_content_lib_info_detail_tab.pt
r330 r332 40 40 i18n:translate="label_info_tab_title"></a></strong></th> 41 41 42 <th tal:condition=" id_in_tabs" align="center">42 <th tal:condition="python:id_in_tabs and display_buttons" align="center"> 43 43 <strong tal:define="sort_id python:sort_by=='id'" 44 44 tal:omit-tag="not:sort_id"><a href="" 45 45 tal:attributes="href python:'%s/changeDisplayParams?display_order=%s' % (context_url, test(sort_id and direction=='asc','id_desc','id_asc'))" 46 i18n:translate="label_info_tab_id"></a> </strong></th>46 i18n:translate="label_info_tab_id"></a>ID</strong></th> 47 47 48 48 <th tal:condition="typetext_in_tabs" align="center"> … … 125 125 126 126 127 <td tal:condition=" id_in_tabs">127 <td tal:condition="python:id_in_tabs and display_buttons"> 128 128 <span tal:content="info/id">ID</span> 129 129 </td> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents_display_buttons.py
r329 r332 13 13 """ 14 14 15 if context.portal_type in ('Department','Certificate' ):15 if context.portal_type in ('Department','Certificate','StudyLevel'): 16 16 return None 17 17 return 1 -
WAeUP_SRP/trunk/skins/waeup_custom/getCustomDisplayParams.py
r330 r332 33 33 'detail_tab_columns': ['long_title', 34 34 'id', 35 'typetext',35 #'typetext', 36 36 #'size', 37 37 #'date',
Note: See TracChangeset for help on using the changeset viewer.