gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis-www] branch master updated: Adapting languages and the


From: gnunet
Subject: [taler-anastasis-www] branch master updated: Adapting languages and the language switcher to DE and EN, without JavaScript
Date: Sun, 11 Apr 2021 21:52:32 +0200

This is an automated email from the git hooks/post-receive script.

skuegel pushed a commit to branch master
in repository anastasis-www.

The following commit(s) were added to refs/heads/master by this push:
     new f56ab13  Adapting languages and the language switcher to DE and EN, 
without JavaScript
f56ab13 is described below

commit f56ab1340b6b81cf6e0079abac561ee1e87020f0
Author: Stefan K├╝gel <skuegel@web.de>
AuthorDate: Sun Apr 11 21:51:37 2021 +0200

    Adapting languages and the language switcher to DE and EN, without 
JavaScript
---
 common/header.j2.inc     |  3 +--
 common/navigation.j2.inc | 17 +++++++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/common/header.j2.inc b/common/header.j2.inc
index 331ec0c..c1b05ba 100644
--- a/common/header.j2.inc
+++ b/common/header.j2.inc
@@ -25,9 +25,8 @@
     </script>
 
     <link rel="alternate" hreflang="en" href="{{ self_localized('en') }}" />
-    <!--
     <link rel="alternate" hreflang="de" href="{{ self_localized('de') }}" />
-    <link rel="alternate" hreflang="fr" href="{{ self_localized('fr') }}" />
+    <!-- <link rel="alternate" hreflang="fr" href="{{ self_localized('fr') }}" 
/>
     <link rel="alternate" hreflang="es" href="{{ self_localized('es') }}" />
     <link rel="alternate" hreflang="it" href="{{ self_localized('it') }}" />
     -->
diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc
index d2d492c..f946707 100644
--- a/common/navigation.j2.inc
+++ b/common/navigation.j2.inc
@@ -16,7 +16,23 @@
                                     <li><a href="{{ url_localized('news.html') 
}}">{% trans %}News{% endtrans %}</a></li>
                                </ul>
                                  </div>
+                 <div class="collapse navbar-collapse justify-content-end" 
id="navbarSupportedContent">
+               <ul class="navbar-nav menu_sec">
+
+
+      {% if lang != 'en' %}
+        <li><a href="{{ self_localized('en') }}">English [en]</a></li>
+      {% endif %}
+      {% if lang != 'de' %}
+        <li><a href="{{ self_localized('de') }}">Deutsch [de]</a></li>
+      {% endif %}
+                                </ul>
+                            </ul>
+                        </li>
+                 </div>
+                                 
                        </nav>
+<!-- Decaprecated JavaScript language switcher 
                        <div id="polyglotLanguageSwitcher">
                                <form action="#">
                                        <select id="polyglot-language-options">
@@ -28,6 +44,7 @@
                                        </select>
                                </form>
                        </div>
+-->
                </div>
        </div>
 </header> 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]