Moderation Log
<% bit = 0 %> <% @moderations.each do |mod| %> "> <% if mod.reason.present? %> <% end %> <% bit = (bit == 1 ? 0 : 1) %> <% end %>
Date/Time Moderator Story/Comment/User, Changes, Reason
<%= mod.created_at.strftime("%Y-%m-%d %H:%M:%S") %> <%= mod.moderator.try(:username) %> <% if mod.story %> Story: <%= mod.story.title %> <% elsif mod.comment %> Comment on <%= mod.comment.story.title %> <% elsif mod.user %> User <%= mod.user.try(:username) %> <% end %>
Action: <%= mod.action %>
Reason: <%= mod.reason %>