]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/_popup.html.erb
Merge remote-tracking branch 'upstream/pull/1837'
[rails.git] / app / views / user / _popup.html.erb
index cad5f79097676ee72ab1a68ed3ac094957c1d6fe..80446b7a9369270c8639393136da5e2d94adc439 100644 (file)
@@ -1,5 +1,5 @@
 <div class="user_popup">
-  <%= user_thumbnail popup, :style => "float :left" %>
+  <%= user_thumbnail popup %>
   <p><%= t('user.popup.' + type) %></p>
-  <p><%= link_to popup.display_name, :controller => "user", :action => "view", :display_name => popup.display_name %></p>
+  <p><%= link_to popup.display_name, user_path(popup) %></p>
 </div>