]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changesets/_heading.html.erb
Move comment changeset locale string out of javascripts
[rails.git] / app / views / changesets / _heading.html.erb
index 33bc7169693e17ac894a0ef67ba059e7eee62868..acb6c9834a20fb72adace17eb8c6144db7e892c1 100644 (file)
@@ -5,11 +5,11 @@
       <%= user_thumbnail changeset.user %>
     </div>
     <div class="col">
-      <h2><%= link_to title, changeset_path(changeset) %></h2>
+      <h2><%= link_to title, changeset %></h2>
     </div>
   </div>
 
-  <small class='text-muted'>
-    <%= t(".created_by_html", :link_user => link_to(changeset.user.display_name, user_path(changeset.user)), :created => l(changeset.created_at, :format => :blog)) %>
+  <small class='text-body-secondary'>
+    <%= t(".created_by_html", :link_user => link_to(changeset.user.display_name, changeset.user), :created => l(changeset.created_at, :format => :blog)) %>
   </small>
 </div>