ensl.org/app/views/shoutmsgs/_shoutmsg.html.erb

11 lines
361 B
Text
Raw Normal View History

<div class="shoutmsg">
<% if shoutmsg.can_destroy? cuser %>
<%= link_to icon('times'), shoutmsg, :method => :delete %>
<% end %>
<%# if shoutmsg.domain != "shoutbox" %>
[<%= shoutmsg.created_at ? shoutmsg.created_at.strftime("%H:%M") : Time.now.strftime("%H:%M") %>]
<%# end %>
<%= namelink shoutmsg.user %>:
<%= shoutmsg.text %><br />
</div>