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,
|
BaseDN: config.BaseDN,
|
||||||
Org: config.Org,
|
Org: config.Org,
|
||||||
Common: NestedCommonTplData{
|
Common: NestedCommonTplData{
|
||||||
CanAdmin: can_admin,
|
CanAdmin: can_admin,
|
||||||
LoggedIn: true},
|
CanInvite: true,
|
||||||
|
LoggedIn: true},
|
||||||
}
|
}
|
||||||
templateHome.Execute(w, data)
|
templateHome.Execute(w, data)
|
||||||
|
|
||||||
|
|
|
@ -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}}
|
||||||
|
|
Loading…
Reference in a new issue