From 194a55a0acf289957c2f34102823c205cc94ea7c Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Fri, 1 Apr 2022 16:48:53 +0200 Subject: feat: add link in sidebar to return to main site --- _templates/layout.html | 6 ++++++ locales/en/LC_MESSAGES/sphinx.po | 6 +++++- locales/sphinx.pot | 6 +++++- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 _templates/layout.html diff --git a/_templates/layout.html b/_templates/layout.html new file mode 100644 index 0000000..7e255dc --- /dev/null +++ b/_templates/layout.html @@ -0,0 +1,6 @@ +{% extends "!layout.html" %} + +{% block sidebartitle %} + {{ _("Retour au site principal") }}
+ {{ super() }} +{% endblock %} diff --git a/locales/en/LC_MESSAGES/sphinx.po b/locales/en/LC_MESSAGES/sphinx.po index 8a179a5..34fbc9b 100644 --- a/locales/en/LC_MESSAGES/sphinx.po +++ b/locales/en/LC_MESSAGES/sphinx.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Hébergement CLUB1 main\n" "Report-Msgid-Bugs-To: nicolas@club1.fr\n" -"POT-Creation-Date: 2022-03-28 21:14+0200\n" +"POT-Creation-Date: 2022-04-01 16:46+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Nicolas Peugnet \n" "Language-Team: LANGUAGE \n" @@ -16,6 +16,10 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: ../../_templates/layout.html:4 +msgid "Retour au site principal" +msgstr "Return to main site" + #: ../../_templates/versions.html:4 ../../_templates/versions.html:21 msgid "Versions" msgstr "Versions" diff --git a/locales/sphinx.pot b/locales/sphinx.pot index eda6154..2b39c40 100644 --- a/locales/sphinx.pot +++ b/locales/sphinx.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: CLUB1 main\n" "Report-Msgid-Bugs-To: nicolas@club1.fr\n" -"POT-Creation-Date: 2022-03-30 15:26+0200\n" +"POT-Creation-Date: 2022-04-01 16:46+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,6 +17,10 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: ../../_templates/layout.html:4 +msgid "Retour au site principal" +msgstr "" + #: ../../_templates/versions.html:4 ../../_templates/versions.html:21 msgid "Versions" msgstr "" -- cgit v1.2.3