pytask/templates/profile/view_notification.html
changeset 417 b37e541bf950
parent 307 c6bca38c1cbf
equal deleted inserted replaced
416:265dbd81c451 417:b37e541bf950
     1 {% extends 'base.html' %}
     1 {% extends 'base.html' %}
     2 {% block content %}
     2 {% block content %}
     3 {% if newest %}
     3 {% if newest %}
     4 <a href="/profile/notf/view/nid={{newest.uniq_key}}">&lt;&lt;newest</a>
     4 <a href="{% url view_notification newest.id %}">&lt;&lt;newest</a>
     5 {% endif %}
     5 {% endif %}
     6 {% if newer %}
     6 {% if newer %}
     7 <a href="/profile/notf/view/nid={{newer.uniq_key}}">&lt;newer</a>
     7 <a href="{% url view_notification newer.id %}">&lt;newer</a>
     8 {% endif %}
     8 {% endif %}
     9 {% if older %}
     9 {% if older %}
    10 <a href="/profile/notf/view/nid={{older.uniq_key}}">older&gt;</a>
    10 <a href="{% url view_notification older.id %}">older&gt;</a>
    11 {% endif %}
    11 {% endif %}
    12 {% if oldest %}
    12 {% if oldest %}
    13 <a href="/profile/notf/view/nid={{oldest.uniq_key}}">oldest&gt;&gt;</a>
    13 <a href="{% url view_notification oldest.id %}">oldest&gt;&gt;</a>
    14 {% endif %}
    14 {% endif %}
    15 <br />
    15 <br />
    16 
    16 
    17 <br />
    17 <br />
    18 sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br />
    18 Sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br />
    19 Sub: {{notification.subject}}<br />
    19 Sub: {{notification.subject}}<br />
    20 <br />
    20 <br />
    21 {{notification.message|safe}}
    21 {{notification.message|safe}}
    22 <br />
    22 <br />
    23 <a href="/profile/notf/del/nid={{notification.uniq_key}}">Delete</a>
    23 <a href="{% url delete_notification notification.id %}">Delete</a>
    24 <a href="/profile/notf/unr/nid={{notification.uniq_key}}">Keep Unread</a>
    24 <a href="{% url unread_notification notification.id %}">Keep Unread</a>
    25 {% endblock %}
    25 {% endblock %}