app/soc/templates/modules/ghop/task/update_notification.html
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 07 Sep 2009 20:02:35 +0200
changeset 2875 abb1e88f9853
parent 2824 7c73ca220dd3
permissions -rw-r--r--
Add a getHostname to system It is better to abstract how we retrieve the hostname than to access it directly (see also getAppVersion).

{% 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 %}
  &nbsp;&nbsp;&nbsp;&nbsp;Updates: <br />
  {% for change in comment_entity.changes %}
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ change }}<br />
  {% endfor %}
<br />
{% endif %}

Comment on {{ task_entity.title }}<br />
<a href={{ redirect_url }}>{{ redirect_url }}</a><br />
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 %}

<br />

{% if comment_entity.content %}
{{ comment_entity.content|wordwrap:80|safe }}
{% else %}
(No Comment was entered for this change.)
{% endif %}

<br />
<br />
--<br />
You are receiving this message because you have subscribed to updates on this
<br/>

GHOP Task. You may unsubscribe from this GHOP Task by visiting the 
<a href={{ task_url }}>GHOP Task <br />page.</a><br />

{% endblock %}