~coolyashish/postorius/add_email_address_in_settings

« back to all changes in this revision

Viewing changes to src/postorius/templates/postorius/lists/summary.html

Fix untranslatable template strings. Contributed by Sumana Harihareswara (LP: 1157947).

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
  
18
18
    {% if user.is_authenticated %}
19
19
    {% if userSubscribed %}
20
 
    <a href="{% url 'list_unsubscribe' list.fqdn_listname user.email %}" class="btn btn-danger">Unsubscribe</a>
 
20
    <a href="{% url 'list_unsubscribe' list.fqdn_listname user.email %}" class="btn btn-danger">{% trans "Unsubscribe" %}</a>
21
21
    {% else %}
22
22
    <h2>{% trans 'Subscribe to this list' %}</h2>
23
23
    <form action="{% url 'list_subscribe' list.fqdn_listname %}" method="post" class="list_subscribe"> {% csrf_token %}
26
26
    </form>
27
27
    {% endif %}
28
28
    {% else %}
29
 
        <p>To subscribe or unsubscribe this list you have to be logged in.</p>
30
 
        <p><a href="{% url 'user_login' %}"class="btn btn-primary">Log In</a></p>
 
29
        <p>{% trans "To subscribe to or unsubscribe from this list you have to be logged in." %}</p>
 
30
        <p><a href="{% url 'user_login' %}"class="btn btn-primary">{% trans "Log In" %}</a></p>
31
31
    {% endif %}
32
32
{% endblock %}