Change header title link on officing namespace
This commit is contained in:
@@ -19,12 +19,21 @@
|
|||||||
<div class="top-bar-left">
|
<div class="top-bar-left">
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<li class="menu-text">
|
<li class="menu-text">
|
||||||
<h1>
|
<% if namespace == "officing" %>
|
||||||
<%= link_to namespaced_root_path do %>
|
<h1>
|
||||||
<%= setting["org_name"] %>
|
<%= link_to "#" do %>
|
||||||
<br><small><%= namespaced_header_title %></small>
|
<%= setting["org_name"] %>
|
||||||
<% end %>
|
<br><small><%= namespaced_header_title %></small>
|
||||||
</h1>
|
<% end %>
|
||||||
|
</h1>
|
||||||
|
<% else %>
|
||||||
|
<h1>
|
||||||
|
<%= link_to namespaced_root_path do %>
|
||||||
|
<%= setting["org_name"] %>
|
||||||
|
<br><small><%= namespaced_header_title %></small>
|
||||||
|
<% end %>
|
||||||
|
</h1>
|
||||||
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user