# HG changeset patch # User Madhusudan.C.S # Date 1251456458 -7200 # Node ID 7c73ca220dd340c6a3330420307639f7825a1872 # Parent 21c222535654adbb923bd6f50ef82f5941194489 Added template for mails regarding Task updates. Reviewed by: Lennard de Rijk diff -r 21c222535654 -r 7c73ca220dd3 app/soc/templates/modules/ghop/task/update_notification.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/modules/ghop/task/update_notification.html Fri Aug 28 12:47:38 2009 +0200 @@ -0,0 +1,52 @@ +{% extends "soc/mail/base.html" %} +{% comment %} +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +{% endcomment %} +{% block content %} + +{% if comment_entity.changes %} +     Updates:
+ {% for change in comment_entity.changes %} +         {{ change }}
+ {% endfor %} +
+{% endif %} + +Comment on {{ task_entity.title }}
+{{ redirect_url }}
+On {{ comment_entity.created_on|date:"jS F Y H:i" }}, by + +{% if comment_entity.created_by %} + {{ comment_entity.created_by.name }}: +{% else %} + {{ site_name }} Automatic Updater: +{% endif %} + +
+ +{% if comment_entity.content %} +{{ comment_entity.content|wordwrap:80|safe }} +{% else %} +(No Comment was entered for this change.) +{% endif %} + +
+
+--
+You are receiving this message because you have subscribed to updates on this +
+ +GHOP Task. You may unsubscribe from this GHOP Task by visiting the +GHOP Task
page.

+ +{% endblock %}