Project

General

Profile

« Previous | Next » 

Revision c90847b4

Added by Serghei Mihai (absent jusqu’au 16/8) over 7 years ago

login and logout links updated

View differences:

ckanext/ozwillo_theme/templates/header.html
40 40
</li>
41 41
</ul>
42 42
          
43
                    	<!-- RIGHT NAV -->
44
       	   	<ul class="nav navbar-nav navbar-right">
45
{% if c.userobj %}
46
<li class="item-123"><a class="btn navbar-btn" href="{{ h.url_for('/user/_logout') }}">{% trans %}Log out{% endtrans %}</a></li>
47
{% else %}
48
<li class="item-123"><a class="btn navbar-btn" href="/user/login">{% trans %}Log in{% endtrans %}</a></li>
49
{% endif %}
43
<!-- RIGHT NAV -->
44
<ul class="nav navbar-nav navbar-right">
45
  <li class="item-123">
46
  {% if c.userobj %}
47
  <a class="btn navbar-btn" href="{{ h.url_for('/user/slo') }}">{% trans %}Log out{% endtrans %}</a>
48
  {% else %}
49
  <a class="btn navbar-btn" href="https://portal.ozwillo-preprod.eu/my">{% trans %}Log in{% endtrans %}</a>
50
  {% endif %}
51
  </li>
50 52
<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>
51 53
  <ul class="dropdown-menu">
52 54
    <li><a href="/en/oz/discover">{% trans %}Discovering the Platform{% endtrans %}</a></li>

Also available in: Unified diff