aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/user/_user_listing_single.rhtml10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/views/user/_user_listing_single.rhtml b/app/views/user/_user_listing_single.rhtml
index 4f0496fd8..0113e5a65 100644
--- a/app/views/user/_user_listing_single.rhtml
+++ b/app/views/user/_user_listing_single.rhtml
@@ -2,8 +2,16 @@
@highlight_words = []
end %>
<div class="user_listing">
+ <% if display_user.profile_photo %>
+ <div class="user_photo_on_search">
+ <a href="<%=user_url(display_user)%>">
+ <img src="<%= get_profile_photo_url(:url_name => display_user.url_name) %>">
+ </a>
+ </div>
+ <% end %>
+
<span class="head">
- <%= link_to highlight_words(display_user.name, @highlight_words), user_url(display_user) %>
+ <%= link_to highlight_words(display_user.name, @highlight_words), user_url(display_user) %>
</span>
<span class="bottomline">