Changes between Version 13 and Version 14 of S3/Notifications
- Timestamp:
- 01/05/15 15:01:48 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/Notifications
v13 v14 26 26 No generic user interface for subscriptions has been implemented so far. 27 27 28 A custom interface can be found in private/templates/DRMP/controllers.py. This interface manages a single subscription per user with multiple resources using a common filter.28 A custom interface can be found in modules/templates/DRMP/controllers.py. This interface manages a single subscription per user with multiple resources using a common filter. 29 29 30 30 == Notifications == … … 62 62 The pre-rendering is to convert the extracted data into a suitable format for the message template. The pre-rendering routine is configurable both per deployment-template and per resource (resource-specific overrides deployment-specific), the default pre-renderer is {{{S3Notifications._render()}}}. 63 63 64 The message templates are '''web2py view templates''' stored in '' private/template/XYZ/views/msg'' (falling back to ''views/msg'').64 The message templates are '''web2py view templates''' stored in ''modules/template/XYZ/views/msg'' (falling back to ''views/msg''). 65 65 66 66 Template names use a '''prefix''' (default: "notify") and the notification method name, like: ''notify_email.html'' (=template for email notifications). … … 76 76 ==== Per Deployment ==== 77 77 78 - ''in private/templates/XYZ/config.py or 000_config.py''78 - ''in modules/templates/XYZ/config.py or 000_config.py'' 79 79 80 80 ||'''Setting'''||'''Explanation'''||