mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 20:41:01 +00:00
20 lines
479 B
Text
20 lines
479 B
Text
<h1>Last 500 Shoutbox Messages</h1>
|
|
|
|
<table class="data">
|
|
<tr>
|
|
<th>Date</th>
|
|
<th>Time</th>
|
|
<th>User</th>
|
|
<th>Text</th>
|
|
</tr>
|
|
|
|
<% @shoutmsgs.each do |shoutmsg| %>
|
|
<tr class="<%= cycle('even', 'odd') %>">
|
|
<td><%= shoutmsg.created_at.strftime("%Y/%m/%d") %></td>
|
|
<td><%= shoutmsg.created_at.strftime("%H:%M") %></td>
|
|
<td><%= link_to shoutmsg.user, shoutmsg.user %></td>
|
|
<td><%= shoutmsg.text %></td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
|