aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/resources/templates/views
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/resources/templates/views')
-rw-r--r--juick-www/src/main/resources/templates/views/partial/navigation.html8
-rw-r--r--juick-www/src/main/resources/templates/views/partial/usercolumn.html2
2 files changed, 9 insertions, 1 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"
diff --git a/juick-www/src/main/resources/templates/views/partial/usercolumn.html b/juick-www/src/main/resources/templates/views/partial/usercolumn.html
index 382c3622..2b1963e3 100644
--- a/juick-www/src/main/resources/templates/views/partial/usercolumn.html
+++ b/juick-www/src/main/resources/templates/views/partial/usercolumn.html
@@ -1,9 +1,9 @@
+{% if visitor is not empty and visitor.uid > 0 and visitor.uid != user.uid %}
<div id="ctitle">
<a href="/{{ user.name }}">
<img src="//i.juick.com/a/{{ user.uid }}.png" alt=""/>{{ user.name }}
</a>
</div>
-{% if visitor is not empty and visitor.uid > 0 and visitor.uid != user.uid %}
<ul class="toolbar">
{% if isSubscribed %}
<li>