1
|
{% set current_lang = request.environ.CKAN_LANG %}
|
2
|
{% set current_page = request.environ.CKAN_CURRENT_URL %}
|
3
|
<div id="toggle-container">
|
4
|
<button id="toggle-toc" class="btn btn-primary visible-xs-inline-block" type="button">
|
5
|
<i class="fa fa-bars"></i>
|
6
|
</button>
|
7
|
</div>
|
8
|
<nav id="off-nav">
|
9
|
<ul class="nav">
|
10
|
<li>
|
11
|
<a class="logo" href="{{ g.ozwillo_url }}/{{current_lang}}"><img src="/img/logo-h43.png" alt="{% trans %}Home{% endtrans %}"></a>
|
12
|
</li>
|
13
|
<li class="divider first"></li>
|
14
|
<li>
|
15
|
<a class="nav-apps" href="{{ g.ozwillo_portal_url }}/{{current_lang}}/store?ui_locales={{current_lang}}">{% trans %}Catalog{% endtrans %}</a>
|
16
|
</li>
|
17
|
{% if c.userobj %}
|
18
|
<li class="deeper dropdown parent">
|
19
|
<a class="nav-data" href="#">{% trans %}Data{% endtrans %}</a>
|
20
|
<ul class="nav">
|
21
|
<li{% if current_page.startswith('/dataset') %} class='active'{% endif %}><a href="/{{current_lang}}/dataset">{% trans %}Datasets{% endtrans %}</a></li>
|
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('/dashboard') %} class='active'{% endif %}><a href="/{{current_lang}}/dashboard">{% trans %}Dashboard{% endtrans %}</a></li>
|
24
|
</ul>
|
25
|
{% else %}
|
26
|
<li class="active deeper dropdown parent">
|
27
|
<a class="dropdown-toggle nav-data" href="/">{% trans %}Data{% endtrans %}</a>
|
28
|
{% endif %}
|
29
|
</li>
|
30
|
<li class="divider"></li>
|
31
|
<li>
|
32
|
<a class="dropdown-toggle" href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['discovering'] }}"><i class="fa fa-eye"></i> {% trans %}Discover{% endtrans %}</a>
|
33
|
</li>
|
34
|
<li>
|
35
|
<a class="dropdown-toggle" href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['news'] }}"><i class="fa fa-calendar"></i> {% trans %}News{% endtrans %}</a>
|
36
|
</li>
|
37
|
<li>
|
38
|
{% if c.userobj %}
|
39
|
<a href="{{ h.url_for('/user/slo') }}"><i class="fa fa-sign-out"></i> {% trans %}Log out{% endtrans %}</a>
|
40
|
{% else %}
|
41
|
<a href="{{ g.ozwillo_portal_url }}/my?ui_locales={{current_lang}}"><i class="fa fa-sign-in"></i> {% trans %}Log in{% endtrans %}</a>
|
42
|
{% endif %}
|
43
|
</li>
|
44
|
<li class="divider"></li>
|
45
|
</ul>
|
46
|
</nav>
|
47
|
<nav id="t3-mainnav" class="wrap navbar navbar-default navbar-fixed-top t3-mainnav">
|
48
|
<div class="container">
|
49
|
<div class="t3-navbar">
|
50
|
<ul class="nav navbar-nav">
|
51
|
<li class="item-107 current">
|
52
|
<a class="logo" href="{{ g.ozwillo_url }}/{{current_lang}}"><img src="/img/logo-h43.png" alt="{% trans %}Home{% endtrans %}"></a>
|
53
|
</li>
|
54
|
<li class="item-108">
|
55
|
<a class="nav-apps" href="{{ g.ozwillo_portal_url }}/{{current_lang}}/store?ui_locales={{current_lang}}">{% trans %}Catalog{% endtrans %}</a>
|
56
|
</li>
|
57
|
{% if c.userobj %}
|
58
|
<li class="item-119 deeper dropdown parent">
|
59
|
<a class="dropdown-toggle nav-data" href="#" data-toggle="dropdown">{% trans %}Data{% endtrans %} <b class="caret"></b></a>
|
60
|
<ul class="dropdown-menu">
|
61
|
<li{% if current_page == '/' %} class='active'{% endif %}><a href="/{{current_lang}}">{% trans %}Home{% endtrans %}</a></li>
|
62
|
<li{% if current_page.startswith('/dataset') %} class='active'{% endif %}><a href="/{{current_lang}}/dataset">{% trans %}Datasets{% endtrans %}</a></li>
|
63
|
<li{% if current_page.startswith('/organization') %} class='active'{% endif %}><a href="/{{current_lang}}/organization">{% trans %}Organizations{% endtrans %}</a></li>
|
64
|
<li class="divider"></li>
|
65
|
<li{% if current_page.startswith('/dashboard') %} class='active'{% endif %}><a href="/{{current_lang}}/dashboard">{% trans %}Dashboard{% endtrans %}</a></li>
|
66
|
</ul>
|
67
|
{% else %}
|
68
|
<li class="active deeper dropdown parent">
|
69
|
<a class="dropdown-toggle nav-data" href="/">{% trans %}Data{% endtrans %}</a>
|
70
|
{% endif %}
|
71
|
</li>
|
72
|
</ul>
|
73
|
<ul class="nav navbar-nav navbar-right navbar-lang">
|
74
|
<li class="dropdown">{% snippet "language_switcher.html" %}</li>
|
75
|
</ul>
|
76
|
|
77
|
<ul class="nav navbar-nav navbar-right">
|
78
|
<li class="item-123">
|
79
|
{% if c.userobj %}
|
80
|
<a class="btn navbar-btn" href="{{ h.url_for('/user/slo') }}">{% trans %}Log out{% endtrans %}</a>
|
81
|
{% else %}
|
82
|
<a class="btn navbar-btn" href="{{ g.ozwillo_portal_url }}/my?ui_locales={{current_lang}}">{% trans %}Log in{% endtrans %}</a>
|
83
|
{% endif %}
|
84
|
</li>
|
85
|
<li class="item-112 deeper dropdown parent hidden-menu-table"><a class="dropdown-toggle" href="#" data-toggle="dropdown">{% trans %}Discover{% endtrans %} <b class="caret"></b></a>
|
86
|
<ul class="dropdown-menu">
|
87
|
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['discovering'] }}">{% trans %}Discovering the Platform{% endtrans %}</a></li>
|
88
|
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['news'] }}">{% trans %}News{% endtrans %}</a></li>
|
89
|
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['co-construct'] }}">{% trans %}Co-construct{% endtrans %}</a></li>
|
90
|
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['lets-go'] }}">{% trans %}Let's go{% endtrans %}</a></li>
|
91
|
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['projects'] }}">{% trans %}Projects{% endtrans %}</a></li>
|
92
|
</ul>
|
93
|
</li>
|
94
|
</ul>
|
95
|
</div>
|
96
|
</div>
|
97
|
</nav>
|