Skip to content
Snippets Groups Projects
Commit bce6cad7 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Merge branch 'language-footer' into 'master'

Move language chooser to footer, closes #8

Closes #8

See merge request !4
parents d7a4b319 f668f92e
No related branches found
No related tags found
1 merge request!4Move language chooser to footer, closes #8
......@@ -86,3 +86,7 @@
</section>
{% endblock content %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
{% endblock %}
......@@ -133,6 +133,7 @@
{% endfor %}
</ul>
</div>
{% block languagefooter %}{% endblock %}
<div class="col s6">
<p style="text-align: right">
{% for text, link in MINIFOOTER_MENU %}
......
......@@ -40,8 +40,6 @@
<div class="row clearfix">
<div class="column full">
<h1>{{ page.title }}</h1>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
</div>
</div>
</div>
......@@ -102,3 +100,7 @@
{% endblock content %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
......@@ -21,8 +21,6 @@
{% block content_title %}
<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>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
</div>
</div>
......
......@@ -5,8 +5,6 @@
<div class="container title">
<div class="row clearfix">
<div class="column full">
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
</div>
</div>
</div>
......@@ -76,3 +74,7 @@
</div>
{% endblock %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
......@@ -32,8 +32,6 @@
<div class="container title">
<div class="row clearfix">
<div class="column full">
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
</div>
</div>
</div>
......@@ -92,3 +90,7 @@
</div>
{% endif %}
{% endblock %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
......@@ -26,3 +26,7 @@
</div>
{% 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