Changeset 919 for WAeUP_SRP/trunk/skins
- Timestamp:
- 21 Nov 2006, 21:05:33 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/getCPSCandidateLocalRoles.py
r867 r919 17 17 from Products.CMFCore.utils import getToolByName 18 18 mtool = getToolByName(context, 'portal_membership') 19 member = mtool.getAuthenticatedMember() 20 21 19 22 #return mtool.getCPSCandidateLocalRoles(context) 20 return ['SectionReader','SectionManager','ClearanceOfficer'] 23 24 25 if member.id == 'admin' 26 return ['SectionReader','SectionManager','ClearanceOfficer', 'SectionOfficer'] 27 return ['ClearanceOfficer', 'SectionOfficer'] -
WAeUP_SRP/trunk/skins/waeup_pins/batch_view.pt
r805 r919 1 <metal:html tal:define="info context/getBatchInfo"> 1 <metal:html tal:define="info context/getBatchInfo; 2 mtool here/portal_membership; 3 member mtool/getAuthenticatedMember; 4 "> 2 5 3 6 <metal:body use-macro="here/main_template/macros/master"> … … 23 26 <br /> 24 27 28 <span tal:condition="python:member.id=='admin'"> 25 29 <h3>Unused</h3> 26 30 <table> … … 30 34 </tr> 31 35 </table> 32 36 </span> 37 33 38 <h3>Used</h3> 34 39 <table>
Note: See TracChangeset for help on using the changeset viewer.