diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-14 18:57:25 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-14 19:11:16 +0100 |
commit | 768f2de9162bbf3fd0a1005554f3fd595818f1b3 (patch) | |
tree | 2dc1372e23cd78a7ccdfe4628f4962b864ec2a68 /templates/home.html | |
parent | ad00d0623e87817370de2ee28fef955290afd897 (diff) | |
download | guichet-768f2de9162bbf3fd0a1005554f3fd595818f1b3.tar.gz guichet-768f2de9162bbf3fd0a1005554f3fd595818f1b3.zip |
Mechanism to create new account
Diffstat (limited to 'templates/home.html')
-rw-r--r-- | templates/home.html | 15 |
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"> |