aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/home.html4
1 files changed, 2 insertions, 2 deletions
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 @@
<div class="list-group list-group-flush">
<a class="list-group-item list-group-item-action" href="/profile">Modifier mon profil</a>
<a class="list-group-item list-group-item-action" href="/passwd">Modifier mon mot de passe</a>
- {{if .CanInvite}}
+ {{if .Login.CanInvite}}
<a class="list-group-item list-group-item-action" href="/invite">Inviter quelqu'un</a>
{{end}}
</div>
</div>
-{{if .CanAdmin}}
+{{if .Login.CanAdmin}}
<div class="card mt-3">
<div class="card-header">
Administration