Changeset 2180
- Timestamp:
- 5 Sep 2007, 14:22:09 (17 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/payment.xml
r1449 r2180 26 26 <property name="label">Transaction Date</property> 27 27 <property name="label_edit">Transaction Date</property> 28 <property name="readonly_layout_modes"/> 28 <property name="readonly_layout_modes"> 29 <element value="edit"/> 30 </property> 29 31 <property name="hidden_layout_modes"/> 30 32 <property name="hidden_readonly_layout_modes"/> -
WAeUP_SRP/trunk/skins/waeup_utilities/changeState.py
r2179 r2180 13 13 """ 14 14 15 if not transition 15 mtool = context.portal_membership 16 member = mtool.getAuthenticatedMember() 17 if str(member) not in ('admin','joachim') or transition is None: 16 18 return 17 19 18 20 import logging 19 21 logger = logging.getLogger('Skins.changeState') 20 import DateTime21 22 22 23 pm = context.portal_membership … … 33 34 34 35 wftool.doActionFor(student,transition) 35 #wftool.doActionFor(student,'clear_and_validate')36 36 logger.info('%s executes transition %s for %s' % (member,transition,student_id)) 37 37 38 return request.RESPONSE.redirect("%s /waeup_document_view" % context.absolute_url())38 return request.RESPONSE.redirect("%s" % context.absolute_url())
Note: See TracChangeset for help on using the changeset viewer.