Changeset 3357 for WAeUP_SRP/base/skins
- Timestamp:
- 19 Mar 2008, 20:17:08 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_default/external_edit_buttons.pt
r2042 r3357 1 1 <metal:block define-macro="buttons"> 2 2 <input type="submit" name="external_edit_button" 3 class="standalone" value=" button_change"3 class="standalone" value="Save" 4 4 id="external_edit_button" 5 5 i18n:attributes="value" /> 6 6 <input type="submit" name="external_close_button" 7 class="standalone" value=" Close"7 class="standalone" value="Save & Close" 8 8 onclick="window.opener.location.reload();window.close()" 9 9 id="external_close_button" -
WAeUP_SRP/base/skins/waeup_default/waeup_edit.py
r3356 r3357 41 41 new_values = dict([(k,v) for k,v in doc.getDataModel().items()]) 42 42 changed = [ k for k in old_values.keys() if new_values[k] != old_values[k]] 43 logger.info('%s edited %s %s (%s) of %s' % (member, 43 if student_id: 44 logger.info('%s edited %s object (fields %s) of %s' % (member, 45 46 context.id, 47 ', '.join(changed), 48 student_id)) 49 else: 50 logger.info('%s edited %s %s (fields %s)' % (member, 44 51 context.portal_type, 45 52 context.id, 46 ','.join(changed), 47 student_id)) 53 ', '.join(changed), 54 )) 55 48 56 psm = 'psm_content_changed' 49 57 args = {}
Note: See TracChangeset for help on using the changeset viewer.