FEATURE: add topic creator username on topic list embed
This commit is contained in:
parent
cd894b7d17
commit
d78ed3159d
|
@ -17,6 +17,9 @@
|
|||
<%- end %>
|
||||
<div class='topic-author-avatar-timestamp'>
|
||||
<img src="<%= t.user.avatar_template.gsub('{size}', '20') %>">
|
||||
<span class="topic-author-username">
|
||||
<%= t.user.username %>
|
||||
</span>
|
||||
<span class="topic-created-at" title="<%= t.created_at.strftime("%B %e, %Y %l:%M%P") %>">
|
||||
<%= "#{I18n.t('embed.created')} #{time_ago_in_words(t.created_at, scope: :'datetime.distance_in_words_verbose')}" %>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue