Show current jobs in navbar for everyone
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
<header class="container flex items-center justify-between px-4 py-6 mx-auto border-b-2 border-gray-300">
|
<header class="container flex items-center justify-between px-4 py-6 mx-auto border-b-2 border-gray-300">
|
||||||
<a href="/" class="text-4xl font-bold text-hsrm-gray">Plottservice FAB</a>
|
<a href="/" class="text-4xl font-bold text-hsrm-gray">Plottservice FAB</a>
|
||||||
<% if user_signed_in? %>
|
<nav>
|
||||||
<nav>
|
<ul class="flex justify-center space-x-2 font-semibold items-color">
|
||||||
<ul class="flex justify-center space-x-2 font-semibold items-color">
|
<li class="relative">
|
||||||
<li class="relative">
|
<button class="px-4 py-2 cursor-default hover:text-hsrm-red border-b-4 <%= root_tab? && 'border-hsrm-red-light' %>">
|
||||||
<button class="px-4 py-2 cursor-default hover:text-hsrm-red border-b-4 <%= root_tab? && 'border-hsrm-red-light' %>">
|
<%= link_to "Aktuelle Druckaufträge", root_path %>
|
||||||
<%= link_to "Aktuelle Druckaufträge", root_path %>
|
</button>
|
||||||
</button>
|
</li>
|
||||||
</li>
|
<% if user_signed_in? %>
|
||||||
<li class="relative">
|
<li class="relative">
|
||||||
<button class="px-4 py-2 cursor-default hover:text-hsrm-red border-b-4 <%= profile_tab? && 'border-hsrm-red-light' %>">
|
<button class="px-4 py-2 cursor-default hover:text-hsrm-red border-b-4 <%= profile_tab? && 'border-hsrm-red-light' %>">
|
||||||
<%= link_to "Profil", profile_path %>
|
<%= link_to "Profil", profile_path %>
|
||||||
@@ -25,9 +25,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
<% end %>
|
||||||
</nav>
|
</ul>
|
||||||
<% end %>
|
</nav>
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="flex items-center">
|
<ul class="flex items-center">
|
||||||
<% if user_signed_in? %>
|
<% if user_signed_in? %>
|
||||||
|
|||||||
Reference in New Issue
Block a user