]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/index.html.erb
Remove the arm pointing to the new user registration form
[rails.git] / app / views / notes / index.html.erb
index dd0cb26082f64a0a64e26731ef391063abede125..8622bbf2974e07bef84fa21033c205c8e1d6fb52 100644 (file)
@@ -1,6 +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)) %></p>
+  <p><%= t ".subheading_html",
+           :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-body") %></p>
 <% end %>
 
 <% if @notes.empty? %>