~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/notification/notices.html

  • Committer: franku
  • Date: 2016-07-02 12:38:06 UTC
  • mfrom: (404.2.56 widelands)
  • Revision ID: somal@arcor.de-20160702123806-q69u3d48s1prrxds
merged the django1_8 branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
{% autopaginate notices %}
15
15
 
16
16
{% if notices %}
17
 
        <a href="{% url notification_mark_all_seen %}" class="posRight small">{% trans "Mark all as seen" %}</a>
 
17
        <a href="{% url 'notification_mark_all_seen' %}" class="posRight small">{% trans "Mark all as seen" %}</a>
18
18
        {% paginate %}
19
19
 
20
20
        {# TODO: get timezone support working with regroup #}
25
25
                <table class="notifications">
26
26
                {% for notice in date.list %}
27
27
                        <tr class="{% cycle "odd" "even" %} {% if notice.is_unseen %}italic{% endif %}">
28
 
                                <td class="type"><a href="{% url notification_notice notice.pk %} ">{% trans notice.notice_type.display %}</a></td>
 
28
                                <td class="type"><a href="{% url 'notification_notice' notice.pk %} ">{% trans notice.notice_type.display %}</a></td>
29
29
                                <td class="text">{{ notice.message|safe }}</td>
30
30
                                <td class="date">{{ notice.added|custom_date:user }}</td>
31
31
                        </tr>
43
43
<div class="blogEntry">
44
44
        <h2>{% trans "Settings" %}</h2>
45
45
 
46
 
        {% url acct_email as email_url %}
 
46
        {% url 'acct_email' as email_url %}
47
47
        {% if user.email %}
48
48
        <p>
49
49
                {% trans "Primary email" %}: {{ user.email }}<br />
50
 
                (You can change this in your <a href="{% url profile_edit %}">profile settings</a>.)
 
50
                (You can change this in your <a href="{% url 'profile_edit' %}">profile settings</a>.)
51
51
        </p>
52
52
        {% else %}
53
53
        <p class="errormessage">
54
 
                You do not have a verified email address to which notifications can be sent. You can add one by <a href="{% url profile_edit %}">editing your profile</a>.
 
54
                You do not have a verified email address to which notifications can be sent. You can add one by <a href="{% url 'profile_edit' %}">editing your profile</a>.
55
55
        </p>
56
56
        {% endif %}
57
57