From b88c19c2c966a7da4d0ceb8aef791e65346af280 Mon Sep 17 00:00:00 2001 From: PCoder Date: Tue, 16 Jan 2018 00:11:32 +0100 Subject: [PATCH 1/2] Add terms-of-service item to dcl's footer --- .../templates/datacenterlight/includes/_footer.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/datacenterlight/templates/datacenterlight/includes/_footer.html b/datacenterlight/templates/datacenterlight/includes/_footer.html index edb7f8aa..933755bf 100644 --- a/datacenterlight/templates/datacenterlight/includes/_footer.html +++ b/datacenterlight/templates/datacenterlight/includes/_footer.html @@ -32,6 +32,12 @@
  • {% trans "Contact" %}
  • + {% if request.resolver_match.url_name != "index" %} + + {% endif %} +
  • + {% trans "Terms of Service" %} +
  • From 71071bf9edb02ad1a4e7a3c584d0344a3b40b87e Mon Sep 17 00:00:00 2001 From: PCoder Date: Tue, 16 Jan 2018 00:13:40 +0100 Subject: [PATCH 2/2] Update dcl's django.po: Add translation for - Terms of Use --- datacenterlight/locale/de/LC_MESSAGES/django.po | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/datacenterlight/locale/de/LC_MESSAGES/django.po b/datacenterlight/locale/de/LC_MESSAGES/django.po index 859781b6..4586e1d5 100644 --- a/datacenterlight/locale/de/LC_MESSAGES/django.po +++ b/datacenterlight/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-22 01:00+0530\n" +"POT-Creation-Date: 2018-01-15 23:12+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -199,6 +199,9 @@ msgstr "VM bestellen" msgid "Contact" msgstr "Kontakt" +msgid "Terms of Service" +msgstr "Nutzungsbedingungen" + msgid "All Rights Reserved" msgstr "Alle Rechte vorbehalten"