diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-09-25 15:57:59 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-09-25 15:57:59 +0200 |
commit | be97a1be587f42a4688825244b025b06172c442a (patch) | |
tree | 95dbaba0d39451efd3ae084e219b6df726d9dc11 /templates/home.html | |
parent | c06f52837e5b4aab5335e5a66885c48c24a148a2 (diff) | |
download | guichet-be97a1be587f42a4688825244b025b06172c442a.tar.gz guichet-be97a1be587f42a4688825244b025b06172c442a.zip |
fix some templates
Diffstat (limited to 'templates/home.html')
-rw-r--r-- | templates/home.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/home.html b/templates/home.html index 241a59d..3dad6b6 100644 --- a/templates/home.html +++ b/templates/home.html @@ -2,7 +2,7 @@ {{define "body"}} <div class="alert alert-info"> - Bienvenue, <strong>{{ .Login.WelcomeName }}</strong> ! + Bienvenue, <strong>{{ .User.WelcomeName }}</strong> ! </div> <div class="d-flex"> <a class="ml-auto btn btn-sm btn-dark" href="/logout">Se déconnecter</a> @@ -33,7 +33,7 @@ </div> </div> -{{if .Login.CanInvite}} +{{if .User.Capabilities.CanInvite}} <div class="card mt-3"> <div class="card-header"> Inviter des gens sur Deuxfleurs @@ -45,7 +45,7 @@ </div> {{end}} -{{if .Login.CanAdmin}} +{{if .User.Capabilities.CanAdmin}} <div class="card mt-3"> <div class="card-header"> Administration |