Personalisation pour lesgrandsvoisins
This commit is contained in:
parent
d269f3088f
commit
7bee9941d3
3 changed files with 8 additions and 2 deletions
1
main.go
1
main.go
|
@ -334,6 +334,7 @@ func handleHome(w http.ResponseWriter, r *http.Request) {
|
|||
data := &HomePageData{
|
||||
Login: login,
|
||||
BaseDN: config.BaseDN,
|
||||
Org: config.Org
|
||||
}
|
||||
|
||||
templateHome.Execute(w, data)
|
||||
|
|
|
@ -16,7 +16,11 @@
|
|||
<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>
|
||||
<!--
|
||||
<a class="list-group-item list-group-item-action" href="/directory">Annuaire</a>
|
||||
-->
|
||||
<a class="list-group-item list-group-item-action" href="/SOGo">Accéder à mes curriels, mon agenda et à mes contacts</a>
|
||||
<a class="list-group-item list-group-item-action" href="https://www.lesgrandsvoisins.com">Accéder au numérique des Grands Voisins .com</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -36,7 +40,7 @@
|
|||
{{if .Login.CanInvite}}
|
||||
<div class="card mt-3">
|
||||
<div class="card-header">
|
||||
Inviter des gens sur Deuxfleurs
|
||||
Inviter des gens sur {{.Org}}
|
||||
</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>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
<body>
|
||||
<div class="container mb-4">
|
||||
<h1>Guichet Les Grands Voisins</h1>
|
||||
<ul></ul>
|
||||
<hr />
|
||||
{{template "body" .}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue