45 lines
3.1 KiB
HTML
45 lines
3.1 KiB
HTML
{% load i18n %}
|
|
|
|
<li class="rug-nav--secondary__item">
|
|
<a class="rug-nav--secondary__link js--togglable-switch" data-toggle-class="rug-nav--secondary__link--selected" data-toggle-group="submenu" data-toggle-id="menu-2427370b-9435-44d9-bca7-b93ec9d03cc0-33.31" data-toggle-mode="togglable">{% trans "VRE" %}</a>
|
|
<ul class="rug-nav--secondary__sub rug-nav--secondary__sub--hidden js--togglable-item" data-toggle-class="rug-block" data-toggle-group="submenu" data-toggle-id="menu-2427370b-9435-44d9-bca7-b93ec9d03cc0-33.31">
|
|
{% if not user.is_authenticated %}
|
|
<li class="rug-nav--secondary__sub__item" data-menu-id="b512aa55-f0cb-4588-9054-302caa5fa951-33.34">
|
|
<a class="rug-nav--secondary__sub__link" href="{% url 'login' %}"><span class="rug-nav--secondary__sub__link-text">{% trans "Login" %}</span></a>
|
|
</li>
|
|
{% endif %}
|
|
|
|
{% if user.is_authenticated %}
|
|
<li class="rug-nav--secondary__sub__item" data-menu-id="b512aa55-f0cb-4588-9054-302caa5fa951-33.34">
|
|
<a class="rug-nav--secondary__sub__link" href="{% url 'study:list' %}"><span class="rug-nav--secondary__sub__link-text">{% trans "Studies" %}</span></a>
|
|
</li>
|
|
<li class="rug-nav--secondary__sub__item" data-menu-id="ea2e3668-6206-4f68-9e29-fea84b472fb4-33.34">
|
|
<a class="rug-nav--secondary__sub__link" href="{% url 'study:new' %}"><span class="rug-nav--secondary__sub__link-text" style="margin-left: 50px;">{% trans "New" %}</span></a>
|
|
</li>
|
|
|
|
<li class="rug-nav--secondary__sub__item" data-menu-id="ea2e3668-6206-4f68-9e29-fea84b472fb4-33.34">
|
|
<a class="rug-nav--secondary__sub__link" href="{% url 'storage:list' %}"><span class="rug-nav--secondary__sub__link-text">{% trans "Storages" %}</span></a>
|
|
</li>
|
|
<li class="rug-nav--secondary__sub__item" data-menu-id="ea2e3668-6206-4f68-9e29-fea84b472fb4-33.34">
|
|
<a class="rug-nav--secondary__sub__link" href="{% url 'storage:new' %}"><span class="rug-nav--secondary__sub__link-text" style="margin-left: 50px;">{% trans "New" %}</span></a>
|
|
</li>
|
|
|
|
<li class="rug-nav--secondary__sub__item" data-menu-id="ea2e3668-6206-4f68-9e29-fea84b472fb4-33.34">
|
|
<a class="rug-nav--secondary__sub__link" href="{% url 'virtual_machine:list' %}"><span class="rug-nav--secondary__sub__link-text">{% trans "Virtual machines" %}</span></a>
|
|
</li>
|
|
<li class="rug-nav--secondary__sub__item" data-menu-id="ea2e3668-6206-4f68-9e29-fea84b472fb4-33.34">
|
|
<a class="rug-nav--secondary__sub__link" href="{% url 'virtual_machine:new' %}"><span class="rug-nav--secondary__sub__link-text" style="margin-left: 50px;">{% trans "New" %}</span></a>
|
|
</li>
|
|
|
|
|
|
<li class="rug-nav--secondary__sub__item" data-menu-id="ea2e3668-6206-4f68-9e29-fea84b472fb4-33.34">
|
|
<a class="rug-nav--secondary__sub__link" href="{% url 'dropoff:list' %}"><span class="rug-nav--secondary__sub__link-text">{% trans "Activity" %}</span></a>
|
|
</li>
|
|
|
|
<li class="rug-nav--secondary__sub__item" data-menu-id="b512aa55-f0cb-4588-9054-302caa5fa951-33.36">
|
|
<a class="rug-nav--secondary__sub__link" href="{% url 'logout' %}"><span class="rug-nav--secondary__sub__link-text">{% trans "Logout" %}</span></a>
|
|
</li>
|
|
{% endif %}
|
|
</ul>
|
|
</li>
|