Changeset 353
- Timestamp:
- 19 Jul 2006, 16:35:37 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/types/AcademicsFolder.xml
r326 r353 42 42 condition_expr="python:True or member and 'UniversityManager'in member.getRoles()" 43 43 url_expr="string:${object/absolute_url}/content_create?type_name=Faculty" 44 visible="True"/> 44 visible="True"> 45 <permission value="Modify portal content"/> 46 </action> 45 47 <action title="action_folder_contents" action_id="contents" category="object" 46 48 condition_expr="" url_expr="string:${object/absolute_url}/folder_contents" … … 48 50 <action title="Delegate" action_id="localroles" category="object" 49 51 condition_expr="" url_expr="string:${object_url}/folder_localrole_form" 50 visible="True"/> 51 <action title="Faculties" action_id="import_faculties" category="import" 52 visible="True"> 53 <permission value="Modify portal content"/> 54 </action> 55 <action title="Faculties" action_id="import_faculties" category="import" 52 56 condition_expr="" url_expr="string:${object_url}/loadFacultiesFromCSV" 53 57 visible="True"/> -
WAeUP_SRP/trunk/profiles/default/types/Certificate.xml
r348 r353 24 24 </property> 25 25 <property name="layouts"> 26 <element value="waeup_common"/> 26 27 <element value="certificate"/> 27 28 </property> … … 33 34 <property name="cps_is_portlet">False</property> 34 35 <alias from="(Default)" to="academics_contents"/> 35 <alias from="created" to="level_created"/>36 36 <alias from="view" to="academics_contents"/> 37 37 <action title="View" action_id="view" category="object" condition_expr="" … … 57 57 condition_expr="" 58 58 url_expr="string:${object/absolute_url}/content_create?type_name=StudyLevel" 59 visible="True"/> 59 visible="True"> 60 <permission value="Modify portal content"/> 61 </action> 60 62 </object> -
WAeUP_SRP/trunk/profiles/default/types/CertificateCourse.xml
r343 r353 40 40 <action title="action_edit" action_id="edit" category="object" 41 41 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form" 42 visible="True"/> 42 visible="True"> 43 <permission value="Modify portal content"/> 44 </action> 43 45 <action title="action_metadata" action_id="metadata" category="object" 44 46 condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata" … … 46 48 <action title="Delegate" action_id="localroles" category="object" 47 49 condition_expr="" url_expr="string:${object_url}/folder_localrole_form" 48 visible="True"/> 50 visible="True" > 51 <permission value="Modify portal content"/> 52 </action> 49 53 </object> -
WAeUP_SRP/trunk/profiles/default/types/CertificatesFolder.xml
r324 r353 40 40 <action title="Delegate" action_id="localroles" category="object" 41 41 condition_expr="" url_expr="string:${object_url}/folder_localrole_form" 42 visible="False"/> 42 visible="False"> 43 <permission value="Modify portal content"/> 44 </action> 43 45 <action title="Add Certificate" action_id="new_entry" category="object" 44 46 condition_expr="" 45 47 url_expr="string:${object/absolute_url}/content_create?type_name=Certificate" 46 visible="True"/> 48 visible="True"> 49 <permission value="Modify portal content"/> 50 </action> 47 51 </object> -
WAeUP_SRP/trunk/profiles/default/types/CoursesFolder.xml
r324 r353 40 40 <action title="Delegate" action_id="localroles" category="object" 41 41 condition_expr="" url_expr="string:${object_url}/folder_localrole_form" 42 visible="False"/> 42 visible="False"> 43 <permission value="Modify portal content"/> 44 </action> 43 45 <action title="Add Course" action_id="new_entry" category="object" 44 46 condition_expr="" 45 47 url_expr="string:${object/absolute_url}/content_create?type_name=Course" 46 visible="True"/> 48 visible="True"> 49 <permission value="Modify portal content"/> 50 </action> 47 51 </object> -
WAeUP_SRP/trunk/profiles/default/types/Faculty.xml
r311 r353 58 58 condition_expr="" 59 59 url_expr="string:${object/absolute_url}/content_create?type_name=Department" 60 visible="True"/> 60 visible="True"> 61 <permission value="Modify portal content"/> 62 </action> 61 63 </object> -
WAeUP_SRP/trunk/profiles/default/types/Semester.xml
r348 r353 34 34 <alias from="(Default)" to="academics_contents"/> 35 35 <alias from="view" to="academics_contents"/> 36 <action title=" StandardView" action_id="view" category="object"36 <action title="View" action_id="view" category="object" 37 37 condition_expr="" url_expr="string:${object_url}/academics_contents" 38 38 visible="True"> … … 57 57 condition_expr="" 58 58 url_expr="string:${object_url}/content_create?type_name=CertificateCourse" 59 visible="True"/> 59 visible="True" > 60 <permission value="Modify portal content"/> 61 </action> 60 62 </object> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_content_lib_info_detail_tab.pt
r337 r353 94 94 '/folder_contents', '')" 95 95 tal:attributes="class python:test(repeat['item'].even(), 'even ajaxtd', 'odd ajaxtd')"> 96 <td align="left" valign="middle" style="width: 5px;" 97 tal:condition="display_buttons"> 98 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 99 tal:condition="not:no_form" 100 tal:define="id item/getId" 101 tal:attributes="value python:site_wide and item.getContextUrl(utool=utool) or id; 102 id python:'cb_' + id; 103 checked python:id in choosen_ids; 104 " /> 105 </td> 106 <td align="center" tal:condition="type_in_tabs" 107 tal:define="draggableclass python:test(not no_form and sort_by is None, 'draggable droppable', ''); 96 <span tal:condition="display_buttons" tal:omit-tag=""> 97 <td align="left" valign="middle" style="width: 5px;" tal:condition="display_buttons"> 98 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 99 tal:condition="not:no_form" 100 tal:define="id item/getId" 101 tal:attributes="value python:site_wide and item.getContextUrl(utool=utool) or id; 102 id python:'cb_' + id; 103 checked python:id in choosen_ids;" 104 /> 105 </td> 106 </span> 107 <td align="center" tal:condition="type_in_tabs" 108 tal:define="draggableclass python:test(not no_form and sort_by is None, 'draggable droppable', ''); 108 109 draggableid python:'draggable'+str(item.getId()); 109 110 draggablemouseover … … 132 133 <span tal:content="info/type">ID</span> 133 134 </td> 134 135 136 135 <td align="right" tal:condition="display_buttons"> 137 136 <a href="dummy" tal:attributes="href string:${item/absolute_url}/academics_edit_form">[edit]</a></td> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents.pt
r329 r353 70 70 <td align="left" valign="top"> 71 71 <span tal:condition="display_buttons" > 72 <span tal:condition="can_del"> 72 73 <input type="button" value="button_select_all" class="context" 73 74 onclick="someJavaScriptFunctionThatWillBeReplaced" … … 75 76 tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' 76 77 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" /> 77 <span tal:condition="can_del">78 78 <input type="submit" name="approve_checked:method" 79 79 class="context" value="Approve" />
Note: See TracChangeset for help on using the changeset viewer.