From: Tom Hughes Date: Wed, 16 Jun 2021 17:07:38 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/3226' X-Git-Tag: live~1528 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/d02b8d9f1ed9b99651cdffae69b8c70e533d5517?hp=086f31f291f1646fda292ca838784cccc61a75ad Merge remote-tracking branch 'upstream/pull/3226' --- diff --git a/app/controllers/traces_controller.rb b/app/controllers/traces_controller.rb index 0d3a1aa33..b4853c6b8 100644 --- a/app/controllers/traces_controller.rb +++ b/app/controllers/traces_controller.rb @@ -67,7 +67,6 @@ class TracesController < ApplicationController # final helper vars for view @target_user = target_user - @display_name = target_user.display_name if target_user end def mine diff --git a/app/views/layouts/_content.html.erb b/app/views/layouts/_content.html.erb index a4d93cc0e..cfb8d712c 100644 --- a/app/views/layouts/_content.html.erb +++ b/app/views/layouts/_content.html.erb @@ -5,7 +5,7 @@ <%= render :partial => "layouts/flash", :locals => { :flash => flash } %> <% if content_for? :heading %>
-
+
<%= yield :heading %>
diff --git a/app/views/traces/index.html.erb b/app/views/traces/index.html.erb index b38436c0a..693de7e1a 100644 --- a/app/views/traces/index.html.erb +++ b/app/views/traces/index.html.erb @@ -1,25 +1,62 @@ +<% content_for :heading_class, "pb-0" %> <% content_for :heading do %>

<%= @title %>

-