Skip to content

Commit

Permalink
Hide login button when logged out
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpirix committed Dec 1, 2023
1 parent b661773 commit 77a0bf5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions qgis-app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@
{% if user.is_authenticated %}
<a id="user-tooltip" href="{% if user.is_superuser %}{% url "admin:index" %}{% else %}{% url "logout" %}{% endif %}"
data-toggle="tooltip" data-placement="bottom" title="{{ user.username }}" style="float: right !important"><i class="icon-user icon-3x"></i></a>
{% else %}
<div class="signin-wrapper">
<a href="{% url "login" %}"><i class="icon-signin icon-3x"></i></a>
</div>
{% endif %}

<form class="navbar-search" action="{% url "haystack_search" %}" method="get">
Expand Down

0 comments on commit 77a0bf5

Please sign in to comment.