mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Also link avatar to user profile
This commit is contained in:
parent
f2e17af130
commit
f1b11327dd
@ -16,7 +16,7 @@
|
|||||||
<%- end %>
|
<%- end %>
|
||||||
|
|
||||||
<div class='author'>
|
<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'>
|
<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>
|
<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>
|
</h3>
|
||||||
|
Loading…
Reference in New Issue
Block a user