From a329682e418b5fb8047f6b062bd4770198ec54ad Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 4 Jul 2019 18:01:31 +0200 Subject: [PATCH] add a block around content of
  • (#34547) --- gadjo/static/css/gadjo.scss | 3 +++ gadjo/templates/gadjo/root.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gadjo/static/css/gadjo.scss b/gadjo/static/css/gadjo.scss index d892544..79d9a2b 100644 --- a/gadjo/static/css/gadjo.scss +++ b/gadjo/static/css/gadjo.scss @@ -118,6 +118,9 @@ ul.user-info { a { color: white; } + .ui-name a { + border-bottom: none; + } .ui-help { padding-left: 3em; } diff --git a/gadjo/templates/gadjo/root.html b/gadjo/templates/gadjo/root.html index 43be9f0..34ab77a 100644 --- a/gadjo/templates/gadjo/root.html +++ b/gadjo/templates/gadjo/root.html @@ -31,7 +31,7 @@ {% endif %} {% if user.is_authenticated %}
  • {{ user.get_full_name|slice:":1" }}
  • -
  • {{ user.get_full_name }}
  • +
  • {% block user-name %}{{ user.get_full_name }}{% endblock %}
  • {% endif %}