pedagogy: add pedagogy in user tools

This commit is contained in:
Antoine Bartuccio 2019-07-08 00:01:38 +02:00
parent 9f1aff8c07
commit f118040432
Signed by: klmp200
GPG Key ID: E7245548C53F904B
2 changed files with 32 additions and 18 deletions

View File

@ -104,6 +104,16 @@
<li><a href="{{ url('club:tools', club_id=m.club.id) }}">{{ m.club }}</a></li>
{% endfor %}
</ul>
<hr>
<h4>{% trans %}Pedagogy{% endtrans %}</h4>
<ul>
{% if user.is_in_group(settings.SITH_GROUP_PEDAGOGY_ADMIN_ID) or user.is_root %}
<li><a href="{{ url('pedagogy:uv_create') }}">{% trans %}Create UV{% endtrans %}</a></li>
<li><a href="{{ url('pedagogy:moderation') }}">{% trans %}Moderate comments{% endtrans %}</a></li>
{% endif %}
</ul>
<hr>
<h4>{% trans %}Elections{% endtrans %}</h4>
<ul>
@ -113,6 +123,8 @@
<li><a href="{{ url('election:create') }}">{% trans %}Create a new election{% endtrans %}</a></li>
{%- endif -%}
</ul>
<hr>
<h4>{% trans %}Other tools{% endtrans %}</h4>
<ul>
<li><a href="{{ url('core:to_markdown') }}">{% trans %}Convert dokuwiki/BBcode syntax to Markdown{% endtrans %}</a></li>

View File

@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-07-07 23:44+0200\n"
"POT-Creation-Date: 2019-07-07 23:59+0200\n"
"PO-Revision-Date: 2016-07-18\n"
"Last-Translator: Skia <skia@libskia.so>\n"
"Language-Team: AE info <ae.info@utbm.fr>\n"
@ -2505,7 +2505,7 @@ msgstr "Laverie"
msgid "Files"
msgstr "Fichiers"
#: core/templates/core/base.jinja:188
#: core/templates/core/base.jinja:188 core/templates/core/user_tools.jinja:109
msgid "Pedagogy"
msgstr "Pédagogie"
@ -3466,31 +3466,42 @@ msgstr "Modérer les fichiers"
msgid "Moderate pictures"
msgstr "Modérer les photos"
#: core/templates/core/user_tools.jinja:108
#: core/templates/core/user_tools.jinja:112
#: pedagogy/templates/pedagogy/guide.jinja:12
msgid "Create UV"
msgstr "Créer UV"
#: core/templates/core/user_tools.jinja:113
#: pedagogy/templates/pedagogy/guide.jinja:15
#: trombi/templates/trombi/detail.jinja:10
msgid "Moderate comments"
msgstr "Modérer les commentaires"
#: core/templates/core/user_tools.jinja:118
msgid "Elections"
msgstr "Élections"
#: core/templates/core/user_tools.jinja:110
#: core/templates/core/user_tools.jinja:120
msgid "See available elections"
msgstr "Voir les élections disponibles"
#: core/templates/core/user_tools.jinja:111
#: core/templates/core/user_tools.jinja:121
msgid "See archived elections"
msgstr "Voir les élections archivées"
#: core/templates/core/user_tools.jinja:113
#: core/templates/core/user_tools.jinja:123
msgid "Create a new election"
msgstr "Créer une nouvelle élection"
#: core/templates/core/user_tools.jinja:116
#: core/templates/core/user_tools.jinja:128
msgid "Other tools"
msgstr "Autres outils"
#: core/templates/core/user_tools.jinja:118
#: core/templates/core/user_tools.jinja:130
msgid "Convert dokuwiki/BBcode syntax to Markdown"
msgstr "Convertir de la syntaxe dokuwiki/BBcode vers Markdown"
#: core/templates/core/user_tools.jinja:119
#: core/templates/core/user_tools.jinja:131
msgid "Trombi tools"
msgstr "Outils Trombi"
@ -4915,15 +4926,6 @@ msgstr "raison"
msgid "UV Guide"
msgstr "Guide des UVs"
#: pedagogy/templates/pedagogy/guide.jinja:12
msgid "Create UV"
msgstr "Créer UV"
#: pedagogy/templates/pedagogy/guide.jinja:15
#: trombi/templates/trombi/detail.jinja:10
msgid "Moderate comments"
msgstr "Modérer les commentaires"
#: pedagogy/templates/pedagogy/guide.jinja:23 sith/settings.py:360
msgid "EDIM"
msgstr "EDIM"