Changeset 889
- Timestamp:
- 17 Nov 2006, 22:18:39 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt
r888 r889 4 4 isStaff context/isStaff; 5 5 isClearanceOfficer context/isClearanceOfficer; 6 is Ownercontext/isStudent;6 isStudent context/isStudent; 7 7 review_state info/review_state; 8 edition python: (isOwner and review_state == 'clearance_pin_entered' or isManager) and not isClearanceOfficer; 9 mode python: test(edition,'edit','view'); 8 clear_review_state info/clear_review_state; 9 editable python: (isStudent and clear_review_state == 'open' or isManager) and not isClearanceOfficer; 10 mode python: test(editable,'edit','view'); 10 11 rendered_main python:info['clear_doc'].render(request=request, 11 12 layout_mode = mode, -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_lib.pt
r888 r889 4 4 <metal:block define-macro="header"> 5 5 <!-- Administration --> 6 <tal:block condition="python: not(isStaff or isManager or is Owner)">6 <tal:block condition="python: not(isStaff or isManager or isStudent)"> 7 7 <metal:block use-macro="here/error_not_found/macros/not_found" /> 8 8 </tal:block> … … 22 22 </tal:block> 23 23 <!-- Student --> 24 <tal:block condition="python: is Owner">24 <tal:block condition="python: isStudent"> 25 25 <a href="" 26 26 tal:attributes="href string:${here/academicsParent}">
Note: See TracChangeset for help on using the changeset viewer.