|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
<div class="pure-u-1 pure-u-md-12-24 searchbar">
|
|
|
|
|
<form class="pure-form" action="/search" method="get">
|
|
|
|
|
<fieldset>
|
|
|
|
|
<input type="search" style="width:100%;" name="q" placeholder="search" value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } || env.params.query["q"]?.try {|x| HTML.escape(x)} %>">
|
|
|
|
|
<input type="search" style="width:100%;" name="q" placeholder="<%= translate(locale, "search") %>" value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } || env.params.query["q"]?.try {|x| HTML.escape(x)} %>">
|
|
|
|
|
</fieldset>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
@ -55,7 +55,7 @@
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pure-u-1-4">
|
|
|
|
|
<a href="/feed/subscriptions" class="pure-menu-heading">
|
|
|
|
|
<a title="<%= translate(locale, "Subscriptions") %>" href="/feed/subscriptions" class="pure-menu-heading">
|
|
|
|
|
<% notification_count = env.get("user").as(User).notifications.size %>
|
|
|
|
|
<% if notification_count > 0 %>
|
|
|
|
|
<%= notification_count %> <i class="icon ion-ios-notifications"></i>
|
|
|
|
@ -65,7 +65,7 @@
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pure-u-1-4">
|
|
|
|
|
<a href="/preferences?referer=<%= env.get?("current_page") %>" class="pure-menu-heading">
|
|
|
|
|
<a title="<%= translate(locale, "Preferences") %>" href="/preferences?referer=<%= env.get?("current_page") %>" class="pure-menu-heading">
|
|
|
|
|
<i class="icon ion-ios-cog"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
@ -85,7 +85,7 @@
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pure-u-1-3">
|
|
|
|
|
<a href="/preferences?referer=<%= env.get?("current_page") %>" class="pure-menu-heading">
|
|
|
|
|
<a title="<%= translate(locale, "Preferences") %>" href="/preferences?referer=<%= env.get?("current_page") %>" class="pure-menu-heading">
|
|
|
|
|
<i class="icon ion-ios-cog"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|