Skip to content

Commit 790dfbf

Browse files
committed
fix django templates formatting
1 parent 6dd66f8 commit 790dfbf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

main/templates/main/billing_overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ <h1>Billing</h1>
138138
{% endif %}
139139

140140
{# stripe case - premium add card #}
141-
{% if not request.user.is_premium and payment_methods%}
141+
{% if not request.user.is_premium and payment_methods %}
142142
<p>
143143
<a href="{% url 'billing_card' %}">Add new card »</a>
144144
</p>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{% load i18n %}{% autoescape off %}
2-
{% blocktrans %}You're receiving this email because you requested a password reset for your user account at {{ site_name }}.{% endblocktrans %}
2+
{% blocktranslate %}You're receiving this email because you requested a password reset for your user account at {{ site_name }}.{% endblocktranslate %}
33

4-
{% trans "Please go to the following page and choose a new password:" %}
4+
{% translate "Please go to the following page and choose a new password:" %}
55
{% block reset_link %}
66
{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
77
{% endblock reset_link %}
8-
{% trans "Your username, in case you've forgotten:" %} {{ user.get_username }}
8+
{% translate "Your username, in case you've forgotten:" %} {{ user.get_username }}
99

10-
{% trans "Thanks for using our site!" %}
10+
{% translate "Thanks for using our site!" %}
1111

12-
{% blocktrans %}The {{ site_name }} team{% endblocktrans %}
12+
{% blocktranslate %}The {{ site_name }} team{% endblocktranslate %}
1313

1414
{% endautoescape %}

0 commit comments

Comments
 (0)