mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-10 16:23:23 +00:00
Improve SAS moderation page
This commit is contained in:
parent
4542753812
commit
66d73d69ec
@ -289,6 +289,15 @@ tbody>tr:hover {
|
|||||||
margin: 2px auto;
|
margin: 2px auto;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
#moderation div {
|
||||||
|
margin: 2px;
|
||||||
|
padding: 2px;
|
||||||
|
border: solid 1px red;
|
||||||
|
text-align: center
|
||||||
|
}
|
||||||
|
#moderation img {
|
||||||
|
width: 500px;
|
||||||
|
}
|
||||||
/*---------------------------------PAGE--------------------------------*/
|
/*---------------------------------PAGE--------------------------------*/
|
||||||
.page_content {
|
.page_content {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2016-12-09 15:43+0100\n"
|
"POT-Creation-Date: 2016-12-09 18:03+0100\n"
|
||||||
"PO-Revision-Date: 2016-07-18\n"
|
"PO-Revision-Date: 2016-07-18\n"
|
||||||
"Last-Translator: Skia <skia@libskia.so>\n"
|
"Last-Translator: Skia <skia@libskia.so>\n"
|
||||||
"Language-Team: AE info <ae.info@utbm.fr>\n"
|
"Language-Team: AE info <ae.info@utbm.fr>\n"
|
||||||
@ -312,7 +312,7 @@ msgstr "Compte en banque : "
|
|||||||
#: counter/templates/counter/last_ops.jinja:29
|
#: counter/templates/counter/last_ops.jinja:29
|
||||||
#: counter/templates/counter/last_ops.jinja:59
|
#: counter/templates/counter/last_ops.jinja:59
|
||||||
#: launderette/templates/launderette/launderette_admin.jinja:16
|
#: launderette/templates/launderette/launderette_admin.jinja:16
|
||||||
#: launderette/views.py:146 sas/templates/sas/moderation.jinja:35
|
#: launderette/views.py:146 sas/templates/sas/moderation.jinja:36
|
||||||
#: sas/templates/sas/picture.jinja:66
|
#: sas/templates/sas/picture.jinja:66
|
||||||
msgid "Delete"
|
msgid "Delete"
|
||||||
msgstr "Supprimer"
|
msgstr "Supprimer"
|
||||||
@ -1457,7 +1457,7 @@ msgstr "Propriétés"
|
|||||||
|
|
||||||
#: core/templates/core/file_detail.jinja:13
|
#: core/templates/core/file_detail.jinja:13
|
||||||
#: core/templates/core/file_moderation.jinja:20
|
#: core/templates/core/file_moderation.jinja:20
|
||||||
#: sas/templates/sas/moderation.jinja:23
|
#: sas/templates/sas/moderation.jinja:24
|
||||||
msgid "Owner: "
|
msgid "Owner: "
|
||||||
msgstr "Propriétaire : "
|
msgstr "Propriétaire : "
|
||||||
|
|
||||||
@ -1467,7 +1467,7 @@ msgstr "Nom réel : "
|
|||||||
|
|
||||||
#: core/templates/core/file_detail.jinja:35
|
#: core/templates/core/file_detail.jinja:35
|
||||||
#: core/templates/core/file_moderation.jinja:21
|
#: core/templates/core/file_moderation.jinja:21
|
||||||
#: sas/templates/sas/moderation.jinja:24 sas/templates/sas/picture.jinja:79
|
#: sas/templates/sas/moderation.jinja:25 sas/templates/sas/picture.jinja:79
|
||||||
msgid "Date: "
|
msgid "Date: "
|
||||||
msgstr "Date : "
|
msgstr "Date : "
|
||||||
|
|
||||||
@ -1489,7 +1489,7 @@ msgstr "Télécharger"
|
|||||||
|
|
||||||
#: core/templates/core/file_detail.jinja:46
|
#: core/templates/core/file_detail.jinja:46
|
||||||
#: core/templates/core/file_moderation.jinja:23
|
#: core/templates/core/file_moderation.jinja:23
|
||||||
#: sas/templates/sas/moderation.jinja:31
|
#: sas/templates/sas/moderation.jinja:32
|
||||||
msgid "Moderate"
|
msgid "Moderate"
|
||||||
msgstr "Modérer"
|
msgstr "Modérer"
|
||||||
|
|
||||||
@ -1503,7 +1503,7 @@ msgid "File moderation"
|
|||||||
msgstr "Modération des fichiers"
|
msgstr "Modération des fichiers"
|
||||||
|
|
||||||
#: core/templates/core/file_moderation.jinja:19
|
#: core/templates/core/file_moderation.jinja:19
|
||||||
#: sas/templates/sas/moderation.jinja:22
|
#: sas/templates/sas/moderation.jinja:23
|
||||||
msgid "Full name: "
|
msgid "Full name: "
|
||||||
msgstr "Nom complet : "
|
msgstr "Nom complet : "
|
||||||
|
|
||||||
@ -2417,7 +2417,7 @@ msgstr "Pas de date de naissance renseigné"
|
|||||||
#: counter/templates/counter/invoices_call.jinja:16
|
#: counter/templates/counter/invoices_call.jinja:16
|
||||||
#: launderette/templates/launderette/launderette_admin.jinja:35
|
#: launderette/templates/launderette/launderette_admin.jinja:35
|
||||||
#: launderette/templates/launderette/launderette_click.jinja:13
|
#: launderette/templates/launderette/launderette_click.jinja:13
|
||||||
#: sas/templates/sas/moderation.jinja:43 sas/templates/sas/picture.jinja:74
|
#: sas/templates/sas/moderation.jinja:44 sas/templates/sas/picture.jinja:74
|
||||||
msgid "Go"
|
msgid "Go"
|
||||||
msgstr "Valider"
|
msgstr "Valider"
|
||||||
|
|
||||||
@ -2917,11 +2917,19 @@ msgstr "Créer"
|
|||||||
msgid "SAS moderation"
|
msgid "SAS moderation"
|
||||||
msgstr "Modération du SAS"
|
msgstr "Modération du SAS"
|
||||||
|
|
||||||
#: sas/templates/sas/moderation.jinja:27
|
#: sas/templates/sas/moderation.jinja:15
|
||||||
|
msgid "Album"
|
||||||
|
msgstr "Album"
|
||||||
|
|
||||||
|
#: sas/templates/sas/moderation.jinja:17
|
||||||
|
msgid "Picture"
|
||||||
|
msgstr "Photo"
|
||||||
|
|
||||||
|
#: sas/templates/sas/moderation.jinja:28
|
||||||
msgid "Asked for removal"
|
msgid "Asked for removal"
|
||||||
msgstr "Retrait demandé"
|
msgstr "Retrait demandé"
|
||||||
|
|
||||||
#: sas/templates/sas/moderation.jinja:39
|
#: sas/templates/sas/moderation.jinja:40
|
||||||
msgid "Do nothing"
|
msgid "Do nothing"
|
||||||
msgstr "Ne rien faire"
|
msgstr "Ne rien faire"
|
||||||
|
|
||||||
|
@ -6,19 +6,19 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h3>{% trans %}SAS moderation{% endtrans %}</h3>
|
<h3>{% trans %}SAS moderation{% endtrans %}</h3>
|
||||||
<div>
|
<div id="moderation">
|
||||||
<form action="" method="POST" enctype="multipart/form-data">
|
<form action="" method="POST" enctype="multipart/form-data">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% for p in pictures %}
|
{% for p in pictures %}
|
||||||
<div style="margin: 2px; padding: 2px; border: solid 1px red; text-align: center">
|
<div style="">
|
||||||
{% if p.is_folder %}
|
{% if p.is_folder %}
|
||||||
<strong>Album</strong>
|
<strong>{% trans %}Album{% endtrans %}</strong>
|
||||||
{% else %}
|
{% else %}
|
||||||
<strong>Picture</strong>
|
<strong>{% trans %}Picture{% endtrans %}</strong>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p>
|
<p>
|
||||||
<a href="{{ url("sas:picture", picture_id=p.id) }}">
|
<a href="{{ url("sas:picture", picture_id=p.id) }}">
|
||||||
<img src="{{ p.get_download_thumb_url() }}" alt="{{ p.name }}" style="width: 100px">
|
<img src="{{ p.get_download_compressed_url() }}" alt="{{ p.name }}">
|
||||||
</a><br/>
|
</a><br/>
|
||||||
{% trans %}Full name: {% endtrans %}{{ p.get_parent_path()+'/'+p.name }}<br/>
|
{% trans %}Full name: {% endtrans %}{{ p.get_parent_path()+'/'+p.name }}<br/>
|
||||||
{% trans %}Owner: {% endtrans %}{{ p.owner.get_display_name() }}<br/>
|
{% trans %}Owner: {% endtrans %}{{ p.owner.get_display_name() }}<br/>
|
||||||
|
Loading…
Reference in New Issue
Block a user