Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
navbar_min.html 910 B
<div style="padding-bottom: 30px;">
<ul id="nav">
    <li id="nav-home"><a href="{% url "home" %}">Home</a></li>
    {% if user.is_authenticated %}
        <li id="nav-logout"><a href="{% url "logout" %}">Logout</a></li>
        <li id="nav-user">Authenticated as:
        {% if user.first_name %}
            {{ user.get_full_name }}
        {% else %}
            {{ user.username }}
        {% endif %}
        </li>
    {% else %}
        <li id="nav-login"><a href="{% url "login" %}">Login</a></li>
    {% endif %}
</ul>

{% if 'lvem_view' in request.path %}
<div id="lvem_view_message">
<b>IMPORTANT:</b> You are viewing this page as a member of the LV-EM Observers group.
At the end of your session, please remove the 'lvem_view/' string from the URL to 
return to the regular GraceDB site. This will ensure that your group memberships 
are correct the next time you log in. 
</div>
{% endif %}
</div>