As an admin I want to be able to create a custom use. As an user I want to see listed only posts in the current selected language. As an user I want to be able to switch languages between EN-DE

This commit is contained in:
Levi 2016-06-23 21:32:51 -05:00
commit 2b50f9fdd9
7 changed files with 49 additions and 12 deletions

View file

@ -1,9 +1,9 @@
{% load i18n menu_tags %}
{% if languages|length > 1 %}
<div class="center-block"">
<div class="center-block">
<ul class="list-inline center-block language-chooser-list">
{% for language in languages %}
<li class="lang{% if current_language == language.0 %} active{% endif %}">
<li class="lang{% if current_language == language.0 %} active{% endif %} white">
<a href="{% page_language_url language.0 %}"
title="{% trans "Change to language:" %} {{ language.1 }}">{{ language.1 }}</a>
</li>