diff options
author | Vitaly Takmazov | 2018-04-07 18:02:20 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-07 18:02:20 +0300 |
commit | b6c53e9b96d6cb4ef178cf57aac0e6e285b109ca (patch) | |
tree | dffb174a76483345b00189fa38caf9bae28e2e12 /juick-www/src/main/resources/templates/views/partial/navigation.html | |
parent | 53586f7dc92c47bf45e33c2cd086a32a8da1a250 (diff) |
www: navigation changes
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" |