1
|
{% set current_lang = request.environ.CKAN_LANG %}
|
2
|
<nav id="t3-mainnav" class="wrap navbar navbar-default navbar-fixed-top t3-mainnav">
|
3
|
<div class="container">
|
4
|
|
5
|
<!-- Brand and toggle get grouped for better mobile display -->
|
6
|
<div class="navbar-header">
|
7
|
|
8
|
|
9
|
|
10
|
<button class="btn btn-primary visible-xs-inline-block off-canvas-toggle " type="button" data-pos="left" data-nav="#t3-off-canvas" data-effect="off-canvas-effect-4">
|
11
|
<i class="fa fa-bars"></i>
|
12
|
</button>
|
13
|
|
14
|
<!-- OFF-CANVAS SIDEBAR -->
|
15
|
|
16
|
<!-- //OFF-CANVAS SIDEBAR -->
|
17
|
|
18
|
</div>
|
19
|
|
20
|
|
21
|
<div class="t3-navbar navbar-collapse collapse">
|
22
|
<ul class="nav navbar-nav">
|
23
|
<li class="item-107 current"> <a class="logo" href="{{ g.ozwillo_url }}/{{current_lang}}"><img src="/img/logo-100.png" alt="{% trans %}Home{% endtrans %}"></a>
|
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
|
</li>
|
26
|
<li class="item-119 deeper dropdown parent">
|
27
|
<a class="dropdown-toggle nav-data" href="#" data-toggle="dropdown">{% trans %}Data{% endtrans %}<b class="caret"></b></a>
|
28
|
<ul class="dropdown-menu">
|
29
|
<li><a href="/{{current_lang}}/dataset">{% trans %}Datasets{% endtrans %}</a></li>
|
30
|
<li><a href="/{{current_lang}}/organization">{% trans %}Organizations{% endtrans %}</a></li>
|
31
|
<li><a href="/{{current_lang}}/group">{% trans %}Groups{% endtrans %}</a></li>
|
32
|
</ul>
|
33
|
</li>
|
34
|
</ul>
|
35
|
|
36
|
<ul class="nav navbar-nav navbar-right navbar-lang">
|
37
|
<li class="dropdown">{% snippet "language_switcher.html" %}</li>
|
38
|
</ul>
|
39
|
</li>
|
40
|
</ul>
|
41
|
|
42
|
<!-- RIGHT NAV -->
|
43
|
<ul class="nav navbar-nav navbar-right">
|
44
|
<li class="item-123">
|
45
|
{% if c.userobj %}
|
46
|
<a class="btn navbar-btn" href="{{ h.url_for('/logout') }}">{% trans %}Log out{% endtrans %}</a>
|
47
|
{% else %}
|
48
|
<a class="btn navbar-btn" href="{{ g.ozwillo_portal_url }}/{{current_lang}}/my">{% trans %}Log in{% endtrans %}</a>
|
49
|
{% endif %}
|
50
|
</li>
|
51
|
<li class="item-112 deeper dropdown parent"><a class="dropdown-toggle" href="/en/oz/discover" data-toggle="dropdown">{% trans %}Discover{% endtrans %}<b class="caret"></b></a>
|
52
|
<ul class="dropdown-menu">
|
53
|
<li><a href="{{ g.ozwillo_url }}/{{current_lang}}/oz/discover">{% trans %}Discovering the Platform{% endtrans %}</a></li>
|
54
|
<li><a href="{{ g.ozwillo_url }}/{{current_lang}}/oz/news">{% trans %}News{% endtrans %}</a></li>
|
55
|
<li><a href="{{ g.ozwillo_url }}/{{current_lang}}/oz/co-construct">{% trans %}Co-construct{% endtrans %}</a></li>
|
56
|
<li><a href="{{ g.ozwillo_url }}/{{current_lang}}/oz/let-s-go">{% trans %}Let's go{% endtrans %}</a></li>
|
57
|
<li><a href="{{ g.ozwillo_url }}/{{current_lang}}/oz/projects">{% trans %}Projects{% endtrans %}</a></li>
|
58
|
</ul></li></ul>
|
59
|
|
60
|
<!-- //RIGHT NAV -->
|
61
|
|
62
|
</div>
|
63
|
|
64
|
</div>
|
65
|
</nav>
|