aboutsummaryrefslogtreecommitdiff
path: root/templates/home.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/home.html')
-rw-r--r--templates/home.html15
1 files changed, 12 insertions, 3 deletions
diff --git a/templates/home.html b/templates/home.html
index 7f227e6..57d6930 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -16,12 +16,21 @@
<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 .Login.CanInvite}}
- <a class="list-group-item list-group-item-action" href="/invite">Inviter quelqu'un</a>
- {{end}}
</div>
</div>
+{{if .Login.CanInvite}}
+<div class="card mt-3">
+ <div class="card-header">
+ Inviter des gens sur Deuxfleurs
+ </div>
+ <div class="list-group list-group-flush">
+ <a class="list-group-item list-group-item-action" href="/invite/send_code">Envoyer un code d'invitation</a>
+ <a class="list-group-item list-group-item-action" href="/invite/new_account">Créer un nouveau compte directement</a>
+ </div>
+</div>
+{{end}}
+
{{if .Login.CanAdmin}}
<div class="card mt-3">
<div class="card-header">