]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/index.html.erb
Merge remote-tracking branch 'upstream/pull/4700'
[rails.git] / app / views / notes / index.html.erb
index ef625163400ceac7c75eb9c903fffa30c4c0fc95..8622bbf2974e07bef84fa21033c205c8e1d6fb52 100644 (file)
@@ -1,9 +1,9 @@
 <% content_for :heading do %>
   <h1><%= t ".heading", :user => @user.display_name %></h1>
   <p><%= t ".subheading_html",
-           :user => link_to(@user.display_name, user_path(@user)),
+           :user => link_to(@user.display_name, @user),
            :submitted => tag.span(t(".subheading_submitted"), :class => "px-2 py-1 bg-primary bg-opacity-25"),
-           :commented => tag.span(t(".subheading_commented"), :class => "px-2 py-1 bg-white") %></p>
+           :commented => tag.span(t(".subheading_commented"), :class => "px-2 py-1 bg-body") %></p>
 <% end %>
 
 <% if @notes.empty? %>