Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Sith
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
59
Issues
59
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AE
Sith
Commits
66d73d69
Commit
66d73d69
authored
Dec 09, 2016
by
Skia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve SAS moderation page
parent
45427538
Pipeline
#485
passed with stage
in 2 minutes and 26 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
14 deletions
+31
-14
core/static/core/style.css
core/static/core/style.css
+9
-0
locale/fr/LC_MESSAGES/django.po
locale/fr/LC_MESSAGES/django.po
+17
-9
sas/templates/sas/moderation.jinja
sas/templates/sas/moderation.jinja
+5
-5
No files found.
core/static/core/style.css
View file @
66d73d69
...
@@ -289,6 +289,15 @@ tbody>tr:hover {
...
@@ -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
;
...
...
locale/fr/LC_MESSAGES/django.po
View file @
66d73d69
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
msgid
""
msgid
""
msgstr
""
msgstr
""
"Report-Msgid-Bugs-To:
\n
"
"Report-Msgid-Bugs-To:
\n
"
"POT-Creation-Date: 2016-12-09 1
5:4
3+0100
\n
"
"POT-Creation-Date: 2016-12-09 1
8:0
3+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 : "
...
@@ -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:3
5
#: launderette/views.py:146 sas/templates/sas/moderation.jinja:3
6
#: 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"
...
@@ -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:2
3
#: sas/templates/sas/moderation.jinja:2
4
msgid
"Owner: "
msgid
"Owner: "
msgstr
"Propriétaire : "
msgstr
"Propriétaire : "
...
@@ -1467,7 +1467,7 @@ msgstr "Nom réel : "
...
@@ -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:2
4
sas/templates/sas/picture.jinja:79
#: sas/templates/sas/moderation.jinja:2
5
sas/templates/sas/picture.jinja:79
msgid
"Date: "
msgid
"Date: "
msgstr
"Date : "
msgstr
"Date : "
...
@@ -1489,7 +1489,7 @@ msgstr "Télécharger"
...
@@ -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:3
1
#: sas/templates/sas/moderation.jinja:3
2
msgid
"Moderate"
msgid
"Moderate"
msgstr
"Modérer"
msgstr
"Modérer"
...
@@ -1503,7 +1503,7 @@ msgid "File moderation"
...
@@ -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:2
2
#: sas/templates/sas/moderation.jinja:2
3
msgid
"Full name: "
msgid
"Full name: "
msgstr
"Nom complet : "
msgstr
"Nom complet : "
...
@@ -2417,7 +2417,7 @@ msgstr "Pas de date de naissance renseigné"
...
@@ -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:4
3
sas/templates/sas/picture.jinja:74
#: sas/templates/sas/moderation.jinja:4
4
sas/templates/sas/picture.jinja:74
msgid
"Go"
msgid
"Go"
msgstr
"Valider"
msgstr
"Valider"
...
@@ -2917,11 +2917,19 @@ msgstr "Créer"
...
@@ -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"
...
...
sas/templates/sas/moderation.jinja
View file @
66d73d69
...
@@ -6,19 +6,19 @@
...
@@ -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/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment