Fix Django 2.2 compatibility
This commit is contained in:
parent
f12c0bbcfb
commit
28eb2cb949
3 changed files with 14 additions and 14 deletions
|
|
@ -14,9 +14,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
<h1>{% trans "Delete confirmation" %}</h1>
|
||||
<form method="post">{% csrf_token %}
|
||||
<p>
|
||||
{% blocktranslate trimmed %}
|
||||
{% blocktrans trimmed %}
|
||||
Are you sure you want to delete <code>{{ object }}</code>?
|
||||
{% endblocktranslate %}
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
{{ form }}
|
||||
<input type="submit" class="btn btn-danger" value="{% trans "Confirm" %}">
|
||||
|
|
|
|||
|
|
@ -14,10 +14,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
<h1>{% trans "Report confirmation" %}</h1>
|
||||
<form method="post">{% csrf_token %}
|
||||
<p>
|
||||
{% blocktranslate trimmed %}
|
||||
{% blocktrans trimmed %}
|
||||
Are you sure you want to report <code>{{ object }}</code>?
|
||||
This photo will no longer be public, and administrators will be notified.
|
||||
{% endblocktranslate %}
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
<input type="submit" class="btn btn-warning" value="{% trans "Confirm" %}">
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue