Changes between Version 8 and Version 9 of S3/Notifications


Ignore:
Timestamp:
09/05/13 10:52:36 (8 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/Notifications

    v8 v9  
    6060  - Rendering via web2py view templates (message templates)
    6161
    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().
     62The 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()}}}.
    6363
    64 The message templates are web2py view templates stored in private/template/XYZ/views/msg (falling back to views/msg).
     64The message templates are '''web2py view templates''' stored in ''private/template/XYZ/views/msg'' (falling back to ''views/msg'').
    6565
    66 Template names use a prefix (default: "notify"), and the notification method name, like: notify_email.html (=template for email notifications).
     66Template names use a '''prefix''' (default: "notify") and the notification method name, like: ''notify_email.html'' (=template for email notifications).
    6767
    68 Message templates for EMAIL can further use a format suffix "html" or "text" (e.g. "notify_email_html.html") - where both fall back to the name without suffix.
     68The template name '''prefix''' can be configured '''per resource''' (using the "notify_template" setting), the default is "notify".
    6969
    70 The template name prefix can be configured per resource (using the "notify_template" setting), the default is "notify".
     70Message templates for '''EMAIL''' can further use a '''format''' suffix "html" or "text" (e.g. ''notify_email_html.html'') - where both fall back to the name without suffix.
    7171
    72 Any deployment-template-specific message template (including fallbacks) is preferred over any default templates.
     72Any deployment-template-specific message templates (including fallbacks) is preferred over any default templates.
    7373
    7474=== Configuration ===