From c16f635c48893c1f09c01871f7245becc66401d7 Mon Sep 17 00:00:00 2001 From: grisel-davy Date: Fri, 10 Aug 2018 17:15:03 +0200 Subject: [PATCH] frontend sur le profil --- static/css/base.css | 5 +++++ users/templates/users/profil.html | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/static/css/base.css b/static/css/base.css index 04bffbb7..bf1775af 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -138,3 +138,8 @@ th.long_text{ color: black; } +/* add padding under title in profile */ +.title-dashboard{ + padding-bottom: 30px; +} + diff --git a/users/templates/users/profil.html b/users/templates/users/profil.html index d1f3ee4a..0e286aa7 100644 --- a/users/templates/users/profil.html +++ b/users/templates/users/profil.html @@ -31,7 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% block title %}Profil{% endblock %} {% block content %} -
+
{% if user == users %}

Welcome {{ users.name }} {{ users.surname }}

{% else %} @@ -78,7 +78,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,