From a2a484daba1ef42d82f596a989caf203ee9a370f Mon Sep 17 00:00:00 2001 From: MrArmonius Date: Fri, 30 Jul 2021 00:04:17 +0200 Subject: Add profile image front-end and back-end Correct when empty result The image showed when the result was empty. Now if the `dn == ""` then we write in the column image just `""` --- templates/profile.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'templates/profile.html') diff --git a/templates/profile.html b/templates/profile.html index 5445d6d..92e229a 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -5,7 +5,10 @@

Modifier mon profil

Retour - +
Photo de profil
+ + Stack Overflow logo and icons and such + {{if .ErrorMessage}}
Impossible d'effectuer la modification.
{{ .ErrorMessage }}
@@ -16,7 +19,7 @@ Profil enregistré.
{{end}} -
+
@@ -43,12 +46,19 @@
{{if .Visibility}} - + {{else}} {{end}}
+
+
+ + +
+
+ {{end}} -- cgit v1.2.3