aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/resources/templates/views
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-07 18:02:20 +0300
committerGravatar Vitaly Takmazov2018-04-07 18:02:20 +0300
commitb6c53e9b96d6cb4ef178cf57aac0e6e285b109ca (patch)
treedffb174a76483345b00189fa38caf9bae28e2e12 /juick-www/src/main/resources/templates/views
parent53586f7dc92c47bf45e33c2cd086a32a8da1a250 (diff)
www: navigation changes
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>