Also link avatar to user profile

This commit is contained in:
Robin Ward 2014-03-20 16:12:41 -04:00
parent f2e17af130
commit f1b11327dd
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
<%- end %>
<div class='author'>
<img src='<%= post.user.small_avatar_url %>'>
<a href='/users/<%= post.username %>' target="_blank"><img src='<%= post.user.small_avatar_url %>'></a>
<h3 class='username'>
<a href='/users/<%= post.username %>' target="_blank" class='<% if post.user.staff? %>staff<% end %><% if post.user.new_user? %>new-user<% end %>'><%= post.user.username %></a>
</h3>