Revision e086be02
Added by Guillaume Denis over 9 years ago
ckanext/ozwillo_theme/templates/header.html | ||
---|---|---|
20 | 20 |
<ul class="nav"> |
21 | 21 |
<li{% if current_page.startswith('/dataset') %} class='active'{% endif %}><a href="/{{current_lang}}/dataset">{% trans %}Datasets{% endtrans %}</a></li> |
22 | 22 |
<li{% if current_page.startswith('/organization') %} class='active'{% endif %}><a href="/{{current_lang}}/organization">{% trans %}Organizations{% endtrans %}</a></li> |
23 |
<li{% if current_page.startswith('/group') %} class='active'{% endif %}><a href="/{{current_lang}}/group">{% trans %}Groups{% endtrans %}</a></li> |
|
24 | 23 |
<li{% if current_page.startswith('/dashboard') %} class='active'{% endif %}><a href="/{{current_lang}}/dashboard">{% trans %}Dashboard{% endtrans %}</a></li> |
25 | 24 |
</ul> |
26 | 25 |
{% else %} |
... | ... | |
62 | 61 |
<li{% if current_page == '/' %} class='active'{% endif %}><a href="/{{current_lang}}">{% trans %}Home{% endtrans %}</a></li> |
63 | 62 |
<li{% if current_page.startswith('/dataset') %} class='active'{% endif %}><a href="/{{current_lang}}/dataset">{% trans %}Datasets{% endtrans %}</a></li> |
64 | 63 |
<li{% if current_page.startswith('/organization') %} class='active'{% endif %}><a href="/{{current_lang}}/organization">{% trans %}Organizations{% endtrans %}</a></li> |
65 |
<li{% if current_page.startswith('/group') %} class='active'{% endif %}><a href="/{{current_lang}}/group">{% trans %}Groups{% endtrans %}</a></li> |
|
66 | 64 |
<li class="divider"></li> |
67 | 65 |
<li{% if current_page.startswith('/dashboard') %} class='active'{% endif %}><a href="/{{current_lang}}/dashboard">{% trans %}Dashboard{% endtrans %}</a></li> |
68 | 66 |
</ul> |
Also available in: Unified diff
remove 'groups' link from navbar