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