aboutsummaryrefslogtreecommitdiff
path: root/templates/home.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/home.html')
-rw-r--r--templates/home.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/templates/home.html b/templates/home.html
index dd88d13..8e0a23c 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -24,7 +24,7 @@
<div class="mt-3">
<div class="card">
<div class="card-header">
- Mon espace sur la toile
+ Mes publications sur la toile
</div>
<div class="list-group list-group-flush">
<a class="list-group-item list-group-item-action" href="/website/configure">Mes identifiants</a>
@@ -33,6 +33,22 @@
</div>
</div>
+<div class="mt-3">
+ <div class="card">
+ <div class="card-header">
+ Mon espace personnel (email, calendrier, contacts, etc.)
+ </div>
+ <div class="list-group list-group-flush">
+{{if .User.Capabilities.CanUseEmail}}
+ <a class="list-group-item list-group-item-action disabled" href="#">Accéder à l'interface web</a>
+ <a class="list-group-item list-group-item-action" href="/pim/inspect">Voir les détails</a>
+{{ else }}
+ <a class="list-group-item list-group-item-action" href="/pim/setup">Créer mon espace</a>
+{{ end }}
+ </div>
+ </div>
+</div>
+
{{if .User.Capabilities.CanInvite}}
<div class="card mt-3">
<div class="card-header">