]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/changeset.html.erb
Merge remote-tracking branch 'upstream/pull/3124'
[rails.git] / app / views / browse / changeset.html.erb
index 670c7dc321a1196be9801c18e850f822d7070c13..079915fcf1f48187023d729c690b3ac83102648b 100644 (file)
@@ -51,7 +51,7 @@
                         :when => friendly_date_ago(comment.created_at),
                         :exact_time => l(comment.created_at),
                         :user => link_to(comment.author.display_name, user_path(comment.author))) %>
-                  — <span class="action-button deemphasize" data-comment-id="<%= comment.id %>" data-method="POST" data-url="<%= changeset_comment_unhide_url(comment.id) %>"><%= t("javascripts.changesets.show.unhide_comment") %></span>
+                  — <span class="action-button text-muted" data-comment-id="<%= comment.id %>" data-method="POST" data-url="<%= changeset_comment_unhide_url(comment.id) %>"><%= t("javascripts.changesets.show.unhide_comment") %></span>
                  </small>
                 <%= comment.body.to_html %>
               </li>
@@ -64,7 +64,7 @@
 
   <% unless current_user %>
     <div class="notice">
-      <%= link_to(t(".join_discussion"), :controller => "users", :action => "login", :referer => request.fullpath) %>
+      <%= link_to(t(".join_discussion"), login_path(:referer => request.fullpath)) %>
     </div>
   <% end %>