Read link is always present in nav bar
This commit is contained in:
parent
f17d153b40
commit
0dd17b58dd
1 changed files with 3 additions and 4 deletions
|
@ -62,10 +62,12 @@ String url;
|
||||||
<div class="navbar-inner">
|
<div class="navbar-inner">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a class="brand" href="<% jamonContext.contextPath() %>">Essayist <% Character.valueOf('\u03B1') %></a>
|
<a class="brand" href="<% jamonContext.contextPath() %>">Essayist <% Character.valueOf('\u03B1') %></a>
|
||||||
|
<ul class="nav">
|
||||||
|
<& navItem: "Read"; "read" &>
|
||||||
|
</ul>
|
||||||
<%if showNav %>
|
<%if showNav %>
|
||||||
<%if jamonContext.isLoggedIn() %>
|
<%if jamonContext.isLoggedIn() %>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<& navItem: "Read"; "read" &>
|
|
||||||
<& navItem: "Write"; "write" &>
|
<& navItem: "Write"; "write" &>
|
||||||
<& navItem: "Written"; Entities.getForUrl(jamonContext.getSessionProfile().getCore().getEntity()) + "/essays" &>
|
<& navItem: "Written"; Entities.getForUrl(jamonContext.getSessionProfile().getCore().getEntity()) + "/essays" &>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -73,9 +75,6 @@ String url;
|
||||||
<& navItem: "Log out"; "logout"; &>
|
<& navItem: "Log out"; "logout"; &>
|
||||||
</ul>
|
</ul>
|
||||||
<%else>
|
<%else>
|
||||||
<ul class="nav">
|
|
||||||
<& navItem: "Read"; "read" &>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav pull-right">
|
<ul class="nav pull-right">
|
||||||
<& navItem: "Log in / Join with Tent"; "" &>
|
<& navItem: "Log in / Join with Tent"; "" &>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue