From 3fbbe61a460b8d5415b61de505b4ac1ab8692b25 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 12 Feb 2020 00:13:24 +0100 Subject: Refactor is_admin check --- templates/home.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/home.html b/templates/home.html index 9a9773a..7f227e6 100644 --- a/templates/home.html +++ b/templates/home.html @@ -16,13 +16,13 @@
Modifier mon profil Modifier mon mot de passe - {{if .CanInvite}} + {{if .Login.CanInvite}} Inviter quelqu'un {{end}}
-{{if .CanAdmin}} +{{if .Login.CanAdmin}}
Administration -- cgit v1.2.3