changeset 2175:d7842de4dbb2

plain text mail notification template
author Ana Balica <ana.balica@gmail.com>
date Tue, 20 Aug 2013 00:12:51 +0300
parents 7421e91056a1
children 7b78960fc720
files MoinMoin/templates/mail/notification.txt
diffstat 1 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/templates/mail/notification.txt	Tue Aug 20 00:12:51 2013 +0300
@@ -0,0 +1,30 @@
+{{ _("Dear Wiki user,") }}
+
+{{ _("The '%(page_name)s' item on '%(wiki_name)s' %(change_action)s by %(user_name)s:",
+page_name=page_name, wiki_name=wiki_name, change_action=change_action, user_name=user_name) }}
+{{ diff_url }}
+
+{% if comment -%}
+{{ _("Comment:") }}
+{{ comment }}
+{%- endif %}
+
+{% if content_diff_ -%}
+{{ _("Data changes:") }}
+{%- for line in content_diff_ %}
+{{ line }}
+{%- endfor -%}
+{%- endif %}
+
+{% if meta_diff_ -%}
+{{ _("Metadata changes:") }}
+{%- for line in meta_diff_ %}
+{{ line }}
+{%- endfor -%}
+{%- endif %}
+
+{{ _("You are receiving this because you have subscribed to a wiki item on
+'%(wiki_name)s' for change notifications.", wiki_name=wiki_name) }}
+{{ _("Item link: %(item_url)s", item_url=item_url) }}
+{{ _("To unsubscribe use: %(unsubscribe_url)s",
+unsubscribe_url=unsubscribe_url) }}
\ No newline at end of file