Translate home page
This commit is contained in:
parent
13a358ab31
commit
14607e6136
2 changed files with 120 additions and 132 deletions
|
|
@ -3,31 +3,40 @@
|
|||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
{% endcomment %}
|
||||
{% load i18n %}
|
||||
{% block title %}Accueil{% endblock %}
|
||||
{% block title %}{% trans "Home" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Bienvenue sur le serveur photos !</h2>
|
||||
<h2>{% trans "Welcome to the pictures server!" %}</h2>
|
||||
<p>
|
||||
Ce site à pour objectif de recenser les photos et films pris dans la vie
|
||||
associative de l'ENS Paris-Saclay ou impliquant des
|
||||
<b>K</b>chanais.
|
||||
{% blocktranslate trimmed %}
|
||||
This website aims to collect the pictures and movies taken in the student
|
||||
life of ENS Paris-Saclay-Saclay or involving its students.
|
||||
{% endblocktranslate %}
|
||||
</p>
|
||||
<p>
|
||||
Les photos sont visibles dans <a href="{% url 'photologue:pl-gallery-archive' %}">les galeries</a> et téléchargeables, toutefois,
|
||||
<b>l'accord de la ou du photographe et des personnes présentes sur la
|
||||
photo est nécessaire avant toute republication sur un autre site.</b>
|
||||
{% url 'photologue:pl-gallery-archive' as gallery_archive_url %}
|
||||
{% blocktranslate trimmed %}
|
||||
The pictures are visible in <a href="{{ gallery_archive_url }}">the galleries</a>
|
||||
and are downloadable.
|
||||
<b>However, the agreement of the photographer and the persons present
|
||||
on the photo is necessary before any republication on another platform. </b>
|
||||
{% endblocktranslate %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Si vous souhaitez qu'une photo soit supprimée, signalez le nous :
|
||||
<a href="mailto:photos@crans.org?subject=[ABUS] Nouvelle requête" class="btn btn-dark btn-sm">Signaler un abus</a>
|
||||
{% blocktranslate trimmed %}
|
||||
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-dark btn-sm">Abuse request</a>
|
||||
{% endblocktranslate %}
|
||||
</p>
|
||||
<p>
|
||||
Si vous souhaitez obtenir les droits photographes pour téléverser vos photos, signalez le nous :
|
||||
<a href="mailto:photos@crans.org?subject=[Photographe] Demande de droits photographe" class="btn btn-dark btn-sm">Devenir photographe</a>
|
||||
{% blocktranslate trimmed %}
|
||||
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-dark btn-sm">Become a photograph</a>
|
||||
{% endblocktranslate %}
|
||||
</p>
|
||||
|
||||
<h3>Dernières galeries</h3>
|
||||
<h3>{% trans "Last galleries" %}</h3>
|
||||
<div class="row mb-2">
|
||||
{% for gallery in object_list %}
|
||||
<div class="col-md-3">
|
||||
|
|
@ -36,20 +45,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<h3>Participez et faites vivre le serveur photos :</h3>
|
||||
<ul>
|
||||
<li>Devenez photographe et téléversez vos photos</li>
|
||||
<li>Reportez-nous toute anomalie dans la nouvelle interface ou toute difficulté rencontrée : fautes d'orthographes, bugs, mauvaise ergonomie…</li>
|
||||
<li>Envoyez-nous vos suggestions à <a href="mailto:photos@crans.org">photos@crans.org</a>.</li>
|
||||
<li>Si l'amélioration ou la gestion du serveur vous intéresse et pour en savoir plus, <a href="mailto:photos@crans.org">contactez-nous</a>.</li>
|
||||
</ul>
|
||||
|
||||
<hr/>
|
||||
|
||||
{% trans "Connected as" %} <code>{{ request.user.username }}</code>.
|
||||
<form action="{% url 'set_language' %}" method="post" style="max-width: 10em;">
|
||||
<form action="{% url 'set_language' %}" method="post" style="max-width: 15em;">
|
||||
{% csrf_token %}
|
||||
Changer la langue :
|
||||
{% trans "Select another language:" %}
|
||||
<select title="language" name="language" class="form-control form-control-sm" onchange="this.form.submit()">
|
||||
{% get_current_language as LANGUAGE_CODE %}
|
||||
{% get_available_languages as LANGUAGES %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue