mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 13:31:06 +00:00
faa895b3f0
Reduce aggressive topic reply/view count caching Improve shout box spacing Pass broken tests
16 lines
460 B
Text
16 lines
460 B
Text
<div class="shoutmsg">
|
|
<div class="user">
|
|
<span class="username">
|
|
<% if shoutmsg.can_destroy? cuser %>
|
|
<%= link_to icon('times'), shoutmsg, method: :delete %>
|
|
<% end %>
|
|
<%= namelink shoutmsg.user %>
|
|
</span>
|
|
<span class="time">
|
|
<%= shoutmsg.created_at ? shoutmsg.created_at.strftime("%H:%M") : Time.now.strftime("%H:%M") %>
|
|
</span>
|
|
</div>
|
|
<div class="message">
|
|
<%= shoutmsg.text %>
|
|
</div>
|
|
</div>
|