Refactoring
This commit is contained in:
parent
da6550ba7e
commit
83429711b6
2 changed files with 4 additions and 3 deletions
1
home.go
1
home.go
|
@ -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)
|
||||||
|
|
|
@ -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