Skip to content
Snippets Groups Projects
Verified Commit f668f92e authored by magicfelix's avatar magicfelix
Browse files

Move language chooser to footer, closes #8

parent d7a4b319
No related branches found
No related tags found
1 merge request!4Move language chooser to footer, closes #8
...@@ -86,3 +86,7 @@ ...@@ -86,3 +86,7 @@
</section> </section>
{% endblock content %} {% endblock content %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
{% endblock %}
...@@ -133,6 +133,7 @@ ...@@ -133,6 +133,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
{% block languagefooter %}{% endblock %}
<div class="col s6"> <div class="col s6">
<p style="text-align: right"> <p style="text-align: right">
{% for text, link in MINIFOOTER_MENU %} {% for text, link in MINIFOOTER_MENU %}
......
...@@ -40,8 +40,6 @@ ...@@ -40,8 +40,6 @@
<div class="row clearfix"> <div class="row clearfix">
<div class="column full"> <div class="column full">
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
</div> </div>
</div> </div>
</div> </div>
...@@ -102,3 +100,7 @@ ...@@ -102,3 +100,7 @@
{% endblock content %} {% endblock content %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
{% block content_title %} {% block content_title %}
<h1>Recent News</h1> <h1>Recent News</h1>
<div class='feed-text'><a href="https://teckids.edugit.io/feeds/all.atom.xml">Feed <i class='fa fa-rss'></i></a></div> <div class='feed-text'><a href="https://teckids.edugit.io/feeds/all.atom.xml">Feed <i class='fa fa-rss'></i></a></div>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %} {% endblock %}
</div> </div>
</div> </div>
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
<div class="container title"> <div class="container title">
<div class="row clearfix"> <div class="row clearfix">
<div class="column full"> <div class="column full">
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
</div> </div>
</div> </div>
</div> </div>
...@@ -76,3 +74,7 @@ ...@@ -76,3 +74,7 @@
</div> </div>
{% endblock %} {% endblock %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
...@@ -32,8 +32,6 @@ ...@@ -32,8 +32,6 @@
<div class="container title"> <div class="container title">
<div class="row clearfix"> <div class="row clearfix">
<div class="column full"> <div class="column full">
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
</div> </div>
</div> </div>
</div> </div>
...@@ -92,3 +90,7 @@ ...@@ -92,3 +90,7 @@
</div> </div>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
...@@ -26,3 +26,7 @@ ...@@ -26,3 +26,7 @@
</div> </div>
{% endblock %} {% endblock %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment