Change header title link on officing namespace

This commit is contained in:
decabeza
2019-05-16 12:05:33 +02:00
parent 2c9d9b5de8
commit aee62b9d33

View File

@@ -19,12 +19,21 @@
<div class="top-bar-left">
<ul class="menu">
<li class="menu-text">
<h1>
<%= link_to namespaced_root_path do %>
<%= setting["org_name"] %>
<br><small><%= namespaced_header_title %></small>
<% end %>
</h1>
<% if namespace == "officing" %>
<h1>
<%= link_to "#" do %>
<%= setting["org_name"] %>
<br><small><%= namespaced_header_title %></small>
<% end %>
</h1>
<% else %>
<h1>
<%= link_to namespaced_root_path do %>
<%= setting["org_name"] %>
<br><small><%= namespaced_header_title %></small>
<% end %>
</h1>
<% end %>
</li>
</ul>
</div>