diff options
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html index cf0f9bb7..75aab216 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html @@ -14,7 +14,7 @@ </form> </div> <div id="headdiv"> - {% if visitor.getUID() > 0 %} + {% if visitor.uid > 0 %} <nav id="user"> <ul> <li><a href="/?show=my">{{ i18n("messages","link.my") }}</a></li> @@ -25,14 +25,11 @@ </nav> <nav id="actions"> <ul> - <li><a href="#post">{{ i18n("messages","link.postMessage") }}</a></li> + <li><a id="post" href="/post">{{ i18n("messages","link.postMessage") }}</a></li> <li><a href="/{{ visitor.getName() }}">@{{ visitor.getName() }}</a></li> <li><a href="/logout">{{ i18n("messages","link.logout") }}</a></li> </ul> </nav> - {% if visitor.getUid() > 0 %} - {% include "views/partial/newmessage" %} - {% endif %} {% else %} <p>{{ i18n("messages","message.loginForSending", "/login") | raw }}.</p> {% endif %} |