Refactoring
This commit is contained in:
parent
da6550ba7e
commit
83429711b6
2 changed files with 4 additions and 3 deletions
5
home.go
5
home.go
|
@ -29,8 +29,9 @@ func handleHome(w http.ResponseWriter, r *http.Request) {
|
|||
BaseDN: config.BaseDN,
|
||||
Org: config.Org,
|
||||
Common: NestedCommonTplData{
|
||||
CanAdmin: can_admin,
|
||||
LoggedIn: true},
|
||||
CanAdmin: can_admin,
|
||||
CanInvite: true,
|
||||
LoggedIn: true},
|
||||
}
|
||||
templateHome.Execute(w, data)
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
</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>
|
||||
<a class="list-group-item list-group-item-action" href="/inscription">Créer un nouveau compte directement</a>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in a new issue