diff --git a/scrutiny/static/css/style.scss b/scrutiny/static/css/style.scss index ec61d40..b7bfda1 100644 --- a/scrutiny/static/css/style.scss +++ b/scrutiny/static/css/style.scss @@ -160,7 +160,14 @@ table.issues td.doc span.icon.doc::before { table.issues td.subject span.description { font-weight: 600; } - ul.user-info { - display: none; + .ui-login { + padding: 0; + a { + display: block; + border: none; + padding: 0 2rem; + } + } + } diff --git a/scrutiny/templates/scrutiny/base.html b/scrutiny/templates/scrutiny/base.html index 3da6600..0642796 100644 --- a/scrutiny/templates/scrutiny/base.html +++ b/scrutiny/templates/scrutiny/base.html @@ -4,3 +4,13 @@ {% block footer %}Scrutiny — Copyright © Entr'ouvert{% endblock %} {% block sidepage %}{% endblock %} {% block more-user-links %}{% endblock %} + +{% block user-links %} + {% if user.is_authenticated %} + {{ block.super }} + {% else %} + + {% endif %} +{% endblock %}