Changeset 353 for WAeUP_SRP/trunk


Ignore:
Timestamp:
19 Jul 2006, 16:35:37 (18 years ago)
Author:
joachim
Message:

proper permission settings for types
certificates type corrected

Location:
WAeUP_SRP/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/types/AcademicsFolder.xml

    r326 r353  
    4242    condition_expr="python:True or member and 'UniversityManager'in member.getRoles()"
    4343    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>
    4547 <action title="action_folder_contents" action_id="contents" category="object"
    4648    condition_expr="" url_expr="string:${object/absolute_url}/folder_contents"
     
    4850 <action title="Delegate" action_id="localroles" category="object"
    4951    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"
    5256    condition_expr="" url_expr="string:${object_url}/loadFacultiesFromCSV"
    5357    visible="True"/>
  • WAeUP_SRP/trunk/profiles/default/types/Certificate.xml

    r348 r353  
    2424 </property>
    2525 <property name="layouts">
     26  <element value="waeup_common"/>
    2627  <element value="certificate"/>
    2728 </property>
     
    3334 <property name="cps_is_portlet">False</property>
    3435 <alias from="(Default)" to="academics_contents"/>
    35  <alias from="created" to="level_created"/>
    3636 <alias from="view" to="academics_contents"/>
    3737 <action title="View" action_id="view" category="object" condition_expr=""
     
    5757    condition_expr=""
    5858    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>
    6062</object>
  • WAeUP_SRP/trunk/profiles/default/types/CertificateCourse.xml

    r343 r353  
    4040 <action title="action_edit" action_id="edit" category="object"
    4141    condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
    42     visible="True"/>
     42    visible="True">
     43  <permission value="Modify portal content"/>
     44  </action>
    4345 <action title="action_metadata" action_id="metadata" category="object"
    4446    condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata"
     
    4648 <action title="Delegate" action_id="localroles" category="object"
    4749    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
    48     visible="True"/>
     50    visible="True" >
     51    <permission value="Modify portal content"/>
     52  </action>
    4953</object>
  • WAeUP_SRP/trunk/profiles/default/types/CertificatesFolder.xml

    r324 r353  
    4040 <action title="Delegate" action_id="localroles" category="object"
    4141    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
    42     visible="False"/>
     42    visible="False">
     43  <permission value="Modify portal content"/>
     44 </action>
    4345 <action title="Add Certificate" action_id="new_entry" category="object"
    4446    condition_expr=""
    4547    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>
    4751</object>
  • WAeUP_SRP/trunk/profiles/default/types/CoursesFolder.xml

    r324 r353  
    4040 <action title="Delegate" action_id="localroles" category="object"
    4141    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
    42     visible="False"/>
     42    visible="False">
     43  <permission value="Modify portal content"/>
     44 </action>
    4345 <action title="Add Course" action_id="new_entry" category="object"
    4446    condition_expr=""
    4547    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>
    4751</object>
  • WAeUP_SRP/trunk/profiles/default/types/Faculty.xml

    r311 r353  
    5858    condition_expr=""
    5959    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>
    6163</object>
  • WAeUP_SRP/trunk/profiles/default/types/Semester.xml

    r348 r353  
    3434 <alias from="(Default)" to="academics_contents"/>
    3535 <alias from="view" to="academics_contents"/>
    36  <action title="Standard View" action_id="view" category="object"
     36 <action title="View" action_id="view" category="object"
    3737    condition_expr="" url_expr="string:${object_url}/academics_contents"
    3838    visible="True">
     
    5757    condition_expr=""
    5858    url_expr="string:${object_url}/content_create?type_name=CertificateCourse"
    59     visible="True"/>
     59    visible="True" >
     60  <permission value="Modify portal content"/>
     61  </action>
    6062</object>
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_content_lib_info_detail_tab.pt

    r337 r353  
    9494                '/folder_contents', '')"
    9595    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', '');
    108109                  draggableid python:'draggable'+str(item.getId());
    109110                  draggablemouseover
     
    132133    <span tal:content="info/type">ID</span>
    133134  </td>
    134 
    135 
    136135  <td align="right" tal:condition="display_buttons">
    137136    <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  
    7070        <td align="left" valign="top">
    7171          <span tal:condition="display_buttons" >
     72          <span tal:condition="can_del">
    7273            <input type="button" value="button_select_all" class="context"
    7374                   onclick="someJavaScriptFunctionThatWillBeReplaced"
     
    7576                   tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')'
    7677                                   % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" />
    77           <span tal:condition="can_del">
    7878            <input type="submit" name="approve_checked:method"
    7979              class="context" value="Approve" />
Note: See TracChangeset for help on using the changeset viewer.