summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-01-21 17:29:31 +0200
committerAlon Levy <alon@pobox.com>2015-01-21 17:36:59 +0200
commitf7932d4ded03ee98092882541f1fad4c055935f4 (patch)
treee20c4baeb3febcf7c02278e315bf4027708666ee /res
parent0f3649984c5dc29ef1909511bca5b9a2744fb192 (diff)
templates/index: move username and initials setting to server. Fixes #286
Diffstat (limited to 'res')
-rw-r--r--res/templates/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/templates/index.html b/res/templates/index.html
index 22aefcd0..ff051fdd 100644
--- a/res/templates/index.html
+++ b/res/templates/index.html
@@ -23,8 +23,8 @@
<div class="user-area">
<div class="username">
<div class="profile-circle"></div>
- <span class="profile-initials">AN<!-- must be two letters because of css --></span>
- <div class="profile-username">Welcome&nbsp;<span id="user_id">Anonymous</span>! <span id="logout-button" class="button">Logout</span></div>
+ <span class="profile-initials">{{ profileinitials }}</span>
+ <div class="profile-username">Welcome&nbsp;<span id="user_id">{{ username }}</span>! <span id="logout-button" class="button">Logout</span></div>
</div>
<img class="organization-logo" src="/static/img/CRI-logo.png">
</div>