Refactoring

This commit is contained in:
Chris Mann 2023-07-25 21:45:01 +02:00
parent da6550ba7e
commit 83429711b6
2 changed files with 4 additions and 3 deletions

View file

@ -30,6 +30,7 @@ func handleHome(w http.ResponseWriter, r *http.Request) {
Org: config.Org, Org: config.Org,
Common: NestedCommonTplData{ Common: NestedCommonTplData{
CanAdmin: can_admin, CanAdmin: can_admin,
CanInvite: true,
LoggedIn: true}, LoggedIn: true},
} }
templateHome.Execute(w, data) templateHome.Execute(w, data)

View file

@ -44,7 +44,7 @@
</div> </div>
<div class="list-group list-group-flush"> <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/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> <a class="list-group-item list-group-item-action" href="/inscription">Créer un nouveau compte directement</a>
</div> </div>
</div> </div>
{{end}} {{end}}