Fix Django 2.2 compatibility
This commit is contained in:
parent
f12c0bbcfb
commit
28eb2cb949
3 changed files with 14 additions and 14 deletions
|
|
@ -10,33 +10,33 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>{% trans "Welcome to the pictures server!" %}</h2>
|
<h2>{% trans "Welcome to the pictures server!" %}</h2>
|
||||||
<p>
|
<p>
|
||||||
{% blocktranslate trimmed %}
|
{% blocktrans trimmed %}
|
||||||
This website aims to collect the pictures and movies taken in the student
|
This website aims to collect the pictures and movies taken in the student
|
||||||
life of ENS Paris-Saclay or involving its students.
|
life of ENS Paris-Saclay or involving its students.
|
||||||
{% endblocktranslate %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
{% url 'photologue:pl-gallery-archive' as gallery_archive_url %}
|
{% url 'photologue:pl-gallery-archive' as gallery_archive_url %}
|
||||||
{% blocktranslate trimmed %}
|
{% blocktrans trimmed %}
|
||||||
The pictures are visible in <a href="{{ gallery_archive_url }}">the galleries</a>
|
The pictures are visible in <a href="{{ gallery_archive_url }}">the galleries</a>
|
||||||
and are downloadable.
|
and are downloadable.
|
||||||
<b>However, the agreement of the photographer and the persons present
|
<b>However, the agreement of the photographer and the persons present
|
||||||
on the photo is necessary before any republication on another platform. </b>
|
on the photo is necessary before any republication on another platform. </b>
|
||||||
{% endblocktranslate %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
{% blocktranslate trimmed %}
|
{% blocktrans trimmed %}
|
||||||
If you want a photo to be deleted, please let us know:
|
If you want a photo to be deleted, please let us know:
|
||||||
<a href="mailto:photos@crans.org?subject=[ABUS] Nouvelle requête" class="btn btn-secondary btn-sm">Abuse request</a>
|
<a href="mailto:photos@crans.org?subject=[ABUS] Nouvelle requête" class="btn btn-secondary btn-sm">Abuse request</a>
|
||||||
{% endblocktranslate %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
{% if not perms.photologue.add_photo %}
|
{% if not perms.photologue.add_photo %}
|
||||||
<p>
|
<p>
|
||||||
{% blocktranslate trimmed %}
|
{% blocktrans trimmed %}
|
||||||
If you want to obtain the right to upload pictures, please let us know:
|
If you want to obtain the right to upload pictures, please let us know:
|
||||||
<a href="mailto:photos@crans.org?subject=[Photographe] Demande de droits photographe" class="btn btn-secondary btn-sm">Become a photograph</a>
|
<a href="mailto:photos@crans.org?subject=[Photographe] Demande de droits photographe" class="btn btn-secondary btn-sm">Become a photograph</a>
|
||||||
{% endblocktranslate %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
@ -51,14 +51,14 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
<h3 class="mt-4">{% trans "Behind the scene" %}</h3>
|
<h3 class="mt-4">{% trans "Behind the scene" %}</h3>
|
||||||
<p>
|
<p>
|
||||||
{% blocktranslate trimmed %}
|
{% blocktrans trimmed %}
|
||||||
Because we value your privacy, we do not sell the data on this site,
|
Because we value your privacy, we do not sell the data on this site,
|
||||||
unlike many free online platforms.
|
unlike many free online platforms.
|
||||||
The dedicated server running this website is kindly hosted by the
|
The dedicated server running this website is kindly hosted by the
|
||||||
<a href="https://www.crans.org/">Crans</a> at the ENS Paris-Saclay
|
<a href="https://www.crans.org/">Crans</a> at the ENS Paris-Saclay
|
||||||
basement.
|
basement.
|
||||||
It is not managed by the Crans. Current active administrators are:
|
It is not managed by the Crans. Current active administrators are:
|
||||||
{% endblocktranslate %}
|
{% endblocktrans %}
|
||||||
{% for user in superusers %} <code>{{ user.username }}</code>{% endfor %}.
|
{% for user in superusers %} <code>{{ user.username }}</code>{% endfor %}.
|
||||||
{% trans "They should be contacted at" %}
|
{% trans "They should be contacted at" %}
|
||||||
<a href="mailto:photos@crans.org">photos@crans.org</a>.
|
<a href="mailto:photos@crans.org">photos@crans.org</a>.
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
<h1>{% trans "Delete confirmation" %}</h1>
|
<h1>{% trans "Delete confirmation" %}</h1>
|
||||||
<form method="post">{% csrf_token %}
|
<form method="post">{% csrf_token %}
|
||||||
<p>
|
<p>
|
||||||
{% blocktranslate trimmed %}
|
{% blocktrans trimmed %}
|
||||||
Are you sure you want to delete <code>{{ object }}</code>?
|
Are you sure you want to delete <code>{{ object }}</code>?
|
||||||
{% endblocktranslate %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
{{ form }}
|
{{ form }}
|
||||||
<input type="submit" class="btn btn-danger" value="{% trans "Confirm" %}">
|
<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>
|
<h1>{% trans "Report confirmation" %}</h1>
|
||||||
<form method="post">{% csrf_token %}
|
<form method="post">{% csrf_token %}
|
||||||
<p>
|
<p>
|
||||||
{% blocktranslate trimmed %}
|
{% blocktrans trimmed %}
|
||||||
Are you sure you want to report <code>{{ object }}</code>?
|
Are you sure you want to report <code>{{ object }}</code>?
|
||||||
This photo will no longer be public, and administrators will be notified.
|
This photo will no longer be public, and administrators will be notified.
|
||||||
{% endblocktranslate %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
<input type="submit" class="btn btn-warning" value="{% trans "Confirm" %}">
|
<input type="submit" class="btn btn-warning" value="{% trans "Confirm" %}">
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue