digitalglarus: changing lang menu content.
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
6b8a33c28f
commit
fd3dd6ba46
4 changed files with 21 additions and 6 deletions
|
@ -143,7 +143,7 @@ footer p {
|
||||||
.address-bar {
|
.address-bar {
|
||||||
display: inherit;
|
display: inherit;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0 0 40px;
|
padding: 0 0 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
|
text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
@ -256,11 +256,17 @@ article {
|
||||||
}
|
}
|
||||||
|
|
||||||
.language-chooser-list {
|
.language-chooser-list {
|
||||||
width: 200px;
|
width: 138px;
|
||||||
|
font-family: "Josefin Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||||
|
font-weight: 700;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.language-chooser-list a {
|
li.lang.active a {
|
||||||
color: white;
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.language-chooser-list a {
|
||||||
|
color: #cccccc;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
|
@ -186,8 +186,8 @@ USE_L10N = True
|
||||||
USE_TZ = True
|
USE_TZ = True
|
||||||
|
|
||||||
LANGUAGES = (
|
LANGUAGES = (
|
||||||
('en-us', _('US English')),
|
('en-us', _('English')),
|
||||||
('de', _('German')),
|
('de', _('Deutsch')),
|
||||||
)
|
)
|
||||||
|
|
||||||
LANGUAGE_CODE = 'en-us'
|
LANGUAGE_CODE = 'en-us'
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="center-block">
|
<div class="center-block">
|
||||||
<ul class="list-inline center-block language-chooser-list">
|
<ul class="list-inline center-block language-chooser-list">
|
||||||
{% language_chooser "menu/language_chooser.html" %}
|
{% language_chooser "cms/digitalglarus/partials/language-chooser.html" %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
{% load i18n menu_tags %}
|
||||||
|
|
||||||
|
{% if languages|length > 1 %}
|
||||||
|
{% for language in languages %}
|
||||||
|
<li class="lang{% if current_language == language.0 %} active{% endif %}">
|
||||||
|
<a href="{% page_language_url language.0 %}" title="{% trans "Change to language:" %} {{ language.1 }}">{{ language.1 }}</a>
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
Loading…
Reference in a new issue