aboutsummaryrefslogtreecommitdiff
path: root/client/html/top_nav.hbs
diff options
context:
space:
mode:
authorrr-2016-04-11 18:36:48 +0200
committerrr-2016-04-11 21:43:58 +0200
commitc543b77aed95aa381ce9bc402926c70e03b6afcb (patch)
treedbd3f01a570ddbcb82f80d9647e72555a449b396 /client/html/top_nav.hbs
parent1086bca3c2ab5fbf520a461e62f96cddf7f03b08 (diff)
client/nav: add user avatar
Diffstat (limited to 'client/html/top_nav.hbs')
-rw-r--r--client/html/top_nav.hbs5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/html/top_nav.hbs b/client/html/top_nav.hbs
index fb693c2..750e524 100644
--- a/client/html/top_nav.hbs
+++ b/client/html/top_nav.hbs
@@ -3,7 +3,10 @@
-->{{#each items}}<!--
-->{{#if this.available}}<!--
--><li data-name='{{@key}}'><!--
- --><a href='{{this.url}}' accesskey='{{this.accessKey}}'>{{this.name}}</a><!--
+ --><a href='{{this.url}}' accesskey='{{this.accessKey}}'><!--
+ -->{{#if this.imageUrl}}{{thumbnail this.imageUrl}}{{/if}}<!--
+ --><span class='text'>{{this.name}}</span><!--
+ --></a><!--
--></li><!--
-->{{/if}}<!--
-->{{/each}}<!--

© 2015 - 2026 Jakob L. Kreuze