Project

General

Profile

« Previous | Next » 

Revision 14fbb44a

Added by Serghei Mihai almost 8 years ago

ozwillo links built from a config var (#6604)

View differences:

ckanext/ozwillo_theme/templates/header.html
20 20
		
21 21
		<div class="t3-navbar navbar-collapse collapse">
22 22
					<ul class="nav navbar-nav">
23
			<li class="item-107 current active">				<a class="logo" href="/en/"><img src="/img/logo-100.png" alt="{% trans %}Home{% endtrans %}"></a>
24
				</li><li class="item-108">				<a class="nav-apps" href="https://portal.ozwillo-preprod.eu/en/store?ui_locales={{current_lang}}">{% trans %}Catalog{% endtrans %}</a>
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_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 27
  <a class="dropdown-toggle nav-data" href="#" data-toggle="dropdown">{% trans %}Data{% endtrans %}<b class="caret"></b></a>
......
45 45
  {% if c.userobj %}
46 46
  <a class="btn navbar-btn" href="{{ h.url_for('/user/slo') }}">{% trans %}Log out{% endtrans %}</a>
47 47
  {% else %}
48
  <a class="btn navbar-btn" href="https://portal.ozwillo-preprod.eu/my">{% trans %}Log in{% endtrans %}</a>
48
  <a class="btn navbar-btn" href="{{ g.ozwillo_url }}/{{current_lang}}/my">{% trans %}Log in{% endtrans %}</a>
49 49
  {% endif %}
50 50
  </li>
51 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 52
  <ul class="dropdown-menu">
53
    <li><a href="/en/oz/discover">{% trans %}Discovering the Platform{% endtrans %}</a></li>
54
    <li><a href="/en/oz/news">{% trans %}News{% endtrans %}</a></li>
55
    <li><a href="/en/oz/co-construct">{% trans %}Co-construct{% endtrans %}</a></li>
56
    <li><a href="/en/oz/let-s-go">{% trans %}Let's go{% endtrans %}</a></li>
57
    <li><a href="/en/oz/projects">{% trans %}Projects{% endtrans %}</a></li>
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 58
</ul></li></ul>
59 59

  
60 60
      	    <!-- //RIGHT NAV -->

Also available in: Unified diff