<% @table_fields.each do |f| %> <%= thead(f) %> <% end %> <% @bulletins.each do |b| %> <% end %>
<%= b.status_for_table %> <%= b.category.title rescue "" %> <% if (b.category.disable rescue false) %> <%= t(:disabled) %> <% end %> <% if b.expired? %> <%= b.title %> <%= t(:expired) %> <% elsif !b.approved? %> <% if (b.category.disable rescue false) %> <%= b.title %> <% else %> <%= b.title %> <% end %> <%= t(:pending) %> <% else %> <% if (b.category.disable rescue false) %> <%= b.title %> <% else %> <%= b.title %> <% end %> <% end %>
<%= format_value b.postdate %> "><%= format_value b.deadline %> <%= b.update_user.user_name rescue "" %>
" class="footable-row-detail-inner" style="display: none;">
<%= t(:tags) %> : <% b.tags.each do |tag| %> <%= tag.name %> <% end %>
<%= t("announcement.email_to") %> : <% b.email_members.each do |member| %> <%= member.name %> <% end %> <% unless b.other_mailaddress.nil? %> <% b.other_mailaddress.split(',').each do |mailaddress| %> <%= mailaddress %> <% end %> <% end %>
<%= content_tag :div, class: "bottomnav clearfix" do content_tag :div, paginate(@bulletins), class: "pagination pagination-centered" end %>