Project

General

Profile

« Previous | Next » 

Revision 75fd2c02

Added by Serghei Mihai about 9 years ago

custom Data top menu (#6605)

View differences:

ckanext/ozwillo_theme/templates/header.html
24 24
				</li><li class="item-108">				<a class="nav-apps" href="{{ g.ozwillo_portal_url }}/{{current_lang}}/store?ui_locales={{current_lang}}">{% trans %}Catalog{% endtrans %}</a>
25 25
				</li>
26 26
<li class="item-119 deeper dropdown parent">
27
{% if c.userobj %}
27 28
  <a class="dropdown-toggle nav-data" href="#" data-toggle="dropdown">{% trans %}Data{% endtrans %}<b class="caret"></b></a>
28 29
  <ul class="dropdown-menu">
30
    <li><a href="/{{current_lang}}">{% trans %}Home{% endtrans %}</a></li>
29 31
    <li><a href="/{{current_lang}}/dataset">{% trans %}Datasets{% endtrans %}</a></li>
30 32
    <li><a href="/{{current_lang}}/organization">{% trans %}Organizations{% endtrans %}</a></li>
31 33
    <li><a href="/{{current_lang}}/group">{% trans %}Groups{% endtrans %}</a></li>
34
    <li class="divider"></li>
35
    <li><a href="/{{current_lang}}/dashboard">{% trans %}Dashboard{% endtrans %}</a></li>
32 36
  </ul>
37
  {% else %}
38
    <a class="dropdown-toggle nav-data" href="/">{% trans %}Data{% endtrans %}</a>
39
{% endif %}
33 40
</li>
34 41
</ul>
35 42

  

Also available in: Unified diff