File indexing completed on 2026-09-28 09:37:31
0001 {% load authority_status %}<div class="nav-auth">
0002 {% if user.is_authenticated %}
0003 {% authority_status as st %}
0004 <a href="{% url 'monitor_app:account' %}?tab=account{% if request.GET.user_view == '1' %}&user_view=1{% endif %}" title="Your account: GitHub login and eic membership">{{ user.username }}</a>{% if st.state == 'failed' or st.state == 'unchecked' %} <a href="{% url 'monitor_app:account' %}?tab=account" style="color:#ffb4a8;font-weight:600;">membership not checked</a>{% endif %}
0005 <form method="post" action="{% url 'logout' %}" style="display:inline;margin:0;">{% csrf_token %}<button type="submit" style="background:none;border:none;color:inherit;cursor:pointer;padding:0;font:inherit;">Logout</button></form>
0006 {% else %}
0007 <a href="{% url 'login' %}?next={{ request.get_full_path|urlencode }}">Login</a>
0008 {% endif %}
0009 </div>