Changeset 2262 for WAeUP_SRP


Ignore:
Timestamp:
20 Sep 2007, 14:02:45 (17 years ago)
Author:
Henrik Bettermann
Message:

show import data link to managers

Location:
WAeUP_SRP
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_default/import.py

    r2259 r2262  
    3232if enable:
    3333    context.portal_catalog.setBypassQueue(1)
    34     psm = "QueueCatalog Bypass enabled"
    35     #return REQUEST.RESPONSE.redirect("%s" % context.absolute_url()) 
     34    psm = "QueueCatalog Bypass enabled!"
     35    #return REQUEST.RESPONSE.redirect("%s" % context.absolute_url())
    3636elif disable:
    3737    context.portal_catalog.setBypassQueue(0)
    38     psm = "QueueCatalog Bypass disabled"
     38    psm = "QueueCatalog Bypass disabled!"
    3939elif psm == 'invalid':
    4040    return context.import_form(rendered = res,
  • WAeUP_SRP/uniben/profiles/default/actionicons.xml

    r2133 r2262  
    128128              title="Search Portal" priority="6"
    129129              icon_expr="actionicon_search.png"/>
     130 <action-icon category="global" action_id="import"
     131              title="Import Data" priority="7"
     132              icon_expr="actionicon_submit.png"/>
    130133
    131134 <action-icon category="global_header" action_id="print"
  • WAeUP_SRP/uniben/profiles/default/actions.xml

    r2133 r2262  
    5151   <permission>View</permission>
    5252  </action>
     53  <action title="Import Data" action_id="import" category="global"
     54     condition_expr="python:member and member.has_role('Manager')" url_expr="string:./import"
     55     visible="True">
     56   <permission>View</permission>
     57  </action> 
    5358  <action title="action_manage_vocabularies" action_id="manage_vocabularies"
    5459     category="global" condition_expr=""
Note: See TracChangeset for help on using the changeset viewer.