From 5ae1a53172a79d812bbbaa1ad7ef97c5a9a2d7dd Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 30 Dec 2018 12:35:41 +0100 Subject: [PATCH] Add lines to split profile information --- static/css/base.css | 6 ++++++ users/templates/users/profil.html | 16 ++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/static/css/base.css b/static/css/base.css index 05409553..a13c596f 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -134,6 +134,12 @@ th.long_text{ } /* Detailed information on profile page */ +dl.profile-info { + margin-top: -16px; + margin-bottom: 0; +} + dl.profile-info > div { padding: 8px; + border-top: 1px solid #ddd; } diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index 370089ff..741ecac0 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -286,19 +286,19 @@ with this program; if not, write to the Free Software Foundation, Inc., -
- {% if users.adherent.gpg_fingerprint %} + {% if users.adherent.gpg_fingerprint %} +
{% trans "GPG fingerprint" %}
{{ users.adherent.gpg_fingerprint }}
- {% endif %} -
+
+ {% endif %} -
- {% if users.shell %} + {% if users.shell %} +
{% trans "Shell" %}
{{ users.shell }}
- {% endif %} -
+
+ {% endif %}