3604: Fix user_agreements behavior, update tests to expect redirects.
[arvados.git] / apps / workbench / app / views / application / show.html.erb
index 9da8ea1518d3ecf9e5bcf47446220659a6f90227..105e1c356d69f140cc7bcc6cbf0a4069a9be2e61 100644 (file)
@@ -1,6 +1,7 @@
 <% content_for :page_title do %>
   <%= (@object.respond_to?(:properties) ? @object.properties[:page_title] : nil) ||
-        @object.friendly_link_name %>
+      @name_link.andand.name ||
+      @object.friendly_link_name %>
 <% end %>
 
 <% content_for :content_top do %>
@@ -26,4 +27,3 @@
 <% end %>
 
 <%= render partial: 'content', layout: 'content_layout', locals: {pane_list: controller.show_pane_list }%>
-