diff options
Diffstat (limited to 'juick-www/src/main/resources/templates/views/partial/navigation.html')
-rw-r--r-- | juick-www/src/main/resources/templates/views/partial/navigation.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/juick-www/src/main/resources/templates/views/partial/navigation.html b/juick-www/src/main/resources/templates/views/partial/navigation.html index 48c1abb1..53cc6bc7 100644 --- a/juick-www/src/main/resources/templates/views/partial/navigation.html +++ b/juick-www/src/main/resources/templates/views/partial/navigation.html @@ -1,6 +1,14 @@ <header> <div id="header_wrapper"> + {% if visitor.uid > 0 %} + <div id="ctitle"> + <a href="/{{ user.name }}"> + <img src="//i.juick.com/a/{{ user.uid }}.png" alt=""/>{{ user.name }} + </a> + </div> + {% else %} <div id="logo"><a href="/{% if visitor.uid > 0 %}?show=my{% endif %}">Juick</a></div> + {% endif %} <div id="search"> <form action="/"> <input name="search" class="text" |