Changeset 326 for WAeUP_SRP/trunk
- Timestamp:
- 17 Jul 2006, 19:51:03 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 added
- 1 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/rolemap.xml
r288 r326 2 2 <rolemap> 3 3 <roles> 4 <role name="UniversityManager"/>5 <role name="FacultyManager"/>6 <role name="DepartmentManager"/>7 4 <role name="CourseAdvisor"/> 8 5 <role name="Lecturer"/> … … 10 7 </roles> 11 8 <permissions> 12 <permission name="Certificate Course Delete"13 acquire="True">14 <role name="Owner"/>15 <role name="Manager"/>16 <role name="SectionManager"/>17 <role name="CourseAdvisor"/>18 </permission>19 9 <permission name="Add portal content" acquire="True"> 20 <role name="Owner"/>21 <role name="Manager"/>22 10 <role name="Student"/> 23 11 </permission> 24 12 <permission name="Add portal folders" acquire="True"> 25 <role name="Owner"/>26 <role name="Manager"/>27 13 <role name="Student"/> 28 14 </permission> 29 15 <permission name="Delete objects" acquire="True"> 30 <role name="Owner"/>31 16 <role name="Manager"/> 32 17 </permission> -
WAeUP_SRP/trunk/profiles/default/roots/campus.xml
r289 r326 1 1 <?xml version="1.0"?> 2 2 <object name="campus"> 3 <property name=" title">University Portal</property>3 <property name="Title">University Portal</property> 4 4 <property name=".cpsskins_theme">waeup_plain_theme</property> 5 5 <object name="academics" portal_type="AcademicsFolder" /> -
WAeUP_SRP/trunk/profiles/default/roots/campus/accommodation.xml
r289 r326 1 1 <?xml version="1.0"?> 2 2 <object name="accommodation"> 3 <property name=" title">Accommodation</property>3 <property name="Title">Accommodation</property> 4 4 </object> -
WAeUP_SRP/trunk/profiles/default/roots/campus/students.xml
r289 r326 1 1 <?xml version="1.0"?> 2 2 <object name="students"> 3 <property name=" title">Students</property>3 <property name="Title">Students</property> 4 4 </object> -
WAeUP_SRP/trunk/profiles/default/types/AcademicsFolder.xml
r308 r326 13 13 <property name="allowed_content_types"> 14 14 <element value="Faculty"/> 15 <element value="SCFolder"/>16 15 </property> 17 16 <property name="allow_discussion">False</property> … … 26 25 <property name="layouts"> 27 26 <element value="common"/> 28 <element value=" folder"/>27 <element value="metadata"/> 29 28 </property> 30 29 <property name="layout_clusters"> -
WAeUP_SRP/trunk/profiles/default/types/AccoFolder.xml
r319 r326 24 24 <property name="layouts"> 25 25 <element value="common"/> 26 <element value="metadata"/> 26 27 </property> 27 28 <property name="layout_clusters"> -
WAeUP_SRP/trunk/profiles/default/types/StudentsFolder.xml
r319 r326 25 25 <property name="layouts"> 26 26 <element value="common"/> 27 <element value="metadata"/> 27 28 </property> 28 29 <property name="layout_clusters"> -
WAeUP_SRP/trunk/profiles/default/types/StudyLevel.xml
r319 r326 32 32 <property name="cps_is_portlet">False</property> 33 33 <alias from="(Default)" to="level_view"/> 34 <alias from="created" to="level_created"/> 34 35 <alias from="view" to="level_view"/> 35 36 <action title="View" action_id="view" category="object" condition_expr="" -
WAeUP_SRP/trunk/skins/waeup_academics/academics_content_lib_info_detail_tab.pt
r309 r326 13 13 version_in_tabs python:'version' in detail_tab_columns; 14 14 context_url context_url|here/getContextUrl; 15 display_buttons context/academics_contents_display_buttons; 15 16 "> 16 17 <tal:block condition="start"> … … 18 19 <thead> 19 20 <tr> 20 <td > </td>21 <td tal:condition="display_buttons"> </td> 21 22 <th tal:condition="type_in_tabs" align="center"> 22 23 <strong tal:define="sort_type python:sort_by=='type'" … … 49 50 tal:attributes="href python:'%s/changeDisplayParams?display_order=%s' % (context_url, test(sort_author and direction=='asc','author_desc','author_asc'))" 50 51 i18n:translate="label_info_tab_author"></a></strong></th> 51 <th ></th>52 <th tal:condition=" status_in_tabs" align="center">52 <th tal:condition="display_buttons"></th> 53 <th tal:condition="python: display_buttons and status_in_tabs" align="center"> 53 54 <strong tal:define="sort_status python:sort_by=='status'" 54 55 tal:omit-tag="not:sort_status"><a href="" … … 68 69 '/folder_contents', '')" 69 70 tal:attributes="class python:test(repeat['item'].even(), 'even ajaxtd', 'odd ajaxtd')"> 70 <td align="left" valign="middle" style="width: 5px;"> 71 <td align="left" valign="middle" style="width: 5px;" 72 tal:condition="display_buttons"> 71 73 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 72 74 tal:condition="not:no_form" … … 95 97 title info/description;"> 96 98 <strong tal:content="info/long_title|info/title_or_id">ID</strong></a></td> 97 <td align="right" >98 <a href="dummy" tal:attributes="href string:${item/absolute_url}/academics_edit_form">[edit]</a></td>99 <td align="right" tal:condition="display_buttons"> 100 <a href="dummy" tal:attributes="href string:${item/absolute_url}/academics_edit_form">[edit]</a></td> 99 101 <td align="right" tal:condition="size_in_tabs"> 100 102 <span tal:condition="info/size|nothing" tal:content="info/size"> </span></td> … … 103 105 <td align="center" tal:condition="author_in_tabs"> 104 106 <span tal:content="info/creator"> </span></td> 105 <td align="center" tal:condition=" status_in_tabs"107 <td align="center" tal:condition="python:status_in_tabs and display_buttons" 106 108 tal:content="info/review_state" tal:attributes="class info/review_state" 107 109 i18n:translate="">published</td> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents.pt
r317 r326 4 4 direction params/direction; 5 5 format string:detail_tab; 6 6 7 displayed python:request.get('displayed', None); 7 8 "> … … 25 26 style="display:none" 26 27 tal:attributes="href string:${context_url}/folder_factories"></a> 27 <div style="text-align: right" tal:condition="python: False and (not here.isInWorkspace() or (here.isInWorkspace() and sort_by))">28 <form action="" method="post"29 tal:attributes="action string:${here_url}/changeDisplayParams">30 <p>31 <tal:block condition="python:not here.isInWorkspace()">32 <metal:params use-macro="here/content_lib_display_params_form/macros/display_params_form" />33 <input type="submit" value="button_apply" class="standalone"34 i18n:attributes="value" />35 </tal:block>36 <tal:block condition="python:here.isInWorkspace() and sort_by">37 <input type="hidden" name="display_order" value="None" />38 <input type="submit" value="label_none" class="standalone"39 i18n:attributes="value" />40 </tal:block>41 </p>42 </form>43 </div>44 28 </metal:header> 45 29 … … 60 44 <metal:main fill-slot="main" 61 45 tal:define="list_here python:checkPerm('List folder contents', here);"> 62 63 46 <div tal:condition="not: list_here" 64 47 tal:define="response request/RESPONSE;url here_url;"> … … 79 62 class="folderButtons" 80 63 tal:define="can_add python:checkPerm('Add portal content', here); 81 can_del python:checkPerm('Delete objects', here);"> 64 can_del python:checkPerm('Delete objects', here); 65 display_buttons context/academics_contents_display_buttons;"> 82 66 <tr> 83 67 <td align="left" valign="top" rowspan="3"></td> 84 68 <td align="left" valign="top"> 85 <span tal:condition=" items">69 <span tal:condition="display_buttons" > 86 70 <input type="button" value="button_select_all" class="context" 87 71 onclick="someJavaScriptFunctionThatWillBeReplaced" … … 89 73 tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' 90 74 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" /> 91 </span>92 <span tal:condition="python: False and can_add">93 <input type="submit" name="folder_cut:method" value="button_cut"94 class="context" i18n:attributes="value"95 tal:condition="can_del" />96 <input type="submit" name="folder_copy:method" value="button_copy"97 class="context" i18n:attributes="value" />98 </span>99 <span tal:condition="python:False and can_add and here.cb_dataValid()">100 <input type="submit" name="folder_paste:method" value="button_paste"101 class="context" i18n:attributes="value" />102 75 </span> 103 76 <span tal:condition="can_del"> … … 113 86 </td> 114 87 </tr> 115 <tr tal:define="isWsManager python:checkPerm('Change subobjects order',116 here);"117 tal:condition="python:False and isWsManager and sort_by is None">118 <td>119 <input type="submit" value="button_move_up" class="context moveUp"120 i18n:attributes="value" name="moveItemsUp:method" />121 <input type="submit" value="button_move_down" class="context moveDown"122 i18n:attributes="value" name="moveItemsDown:method" />123 <input type="submit" value="button_move_top" class="context moveTop"124 i18n:attributes="value" name="moveItemsTop:method" />125 <input type="submit" value="button_move_bottom"126 class="context moveBottom"127 i18n:attributes="value" name="moveItemsBottom:method" />128 </td>129 </tr>130 88 </table> 131 89 </form>
Note: See TracChangeset for help on using the changeset viewer.