Translation fix
This commit is contained in:
parent
e8cdd77cb3
commit
bec55a8660
3 changed files with 5 additions and 5 deletions
|
@ -1,3 +1,3 @@
|
|||
{% for lang in languages %}
|
||||
<a{% if lang.code == currentlangcode %} class="active"{% endif %} href="/{{ lang.code }}/home">{{ lang.title }}</a>
|
||||
<a{% if lang.code == currentlangcode %} class="active"{% endif %} href="/{{ lang.code }}">{{ lang.title }}</a>
|
||||
{% endfor %}
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
{% for menuitem in menuitems %}
|
||||
<li class="{% if menuitem.show_dropdown %}dropdown{% endif %}{% if menuitem.active %} active{% endif %}">
|
||||
{% if menuitem.show_dropdown %}
|
||||
<a data-toggle="dropdown" class="dropdown-toggle" href="#">{{ menuitem.title }} <b class="caret"></b></a>
|
||||
<a data-toggle="dropdown" class="dropdown-toggle" href="#">{{ menuitem.trans_title }} <b class="caret"></b></a>
|
||||
{% top_menu_children parent=menuitem %}
|
||||
{% else %}
|
||||
<a href="{% pageurl menuitem %}">{{ menuitem.title }}</a>
|
||||
<a href="{% pageurl menuitem %}">{{ menuitem.trans_title }}</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{% load navigation wagtailcore_tags %}
|
||||
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="{% pageurl parent %}">{{ parent.title }}</a></li>
|
||||
<li><a href="{% pageurl parent %}">{{ parent.trans_title }}</a></li>
|
||||
{% for child in menuitems_children %}
|
||||
<li><a href="{% pageurl child %}">{{ child.title }}</a></li>
|
||||
<li><a href="{% pageurl child %}">{{ child.trans_title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Reference in a new issue