<% @table_fields.each do |f| %> <%= thead(f) %> <% end %> | ||||||||
---|---|---|---|---|---|---|---|---|
<% if is_editable %><% end %> | <%= b.status_for_table %> | <% if @enable_annc_dept %><%= b.annc_dept ? @annc_depts[b.annc_dept] : '' rescue "" %> | <% end %><%= b.category.title rescue "" %> <% if (b.category.disable rescue false) %> <%= t(:disabled) %> <% end %> |
<% if b.expired? || (b.category.disable rescue false)%>
<%= b.title.to_s.html_safe %>
<% else %>
<%= b.title.to_s.html_safe %>
<% end %>
<% if b.expired? %>
<%= t(:expired) %>
<% end %>
<% if b.reapproval %>
<%= t("announcement.reapproval") + " " + t(:pending) %>
<% end %>
<% if b.rejected %>
<%= t(:rejected) %> : <%= b.rejection_reason rescue "" %>
<% end %>
<% if !b.approved? && !b.rejected %>
<%= t(:pending) %>
<% end %>
|
<%= format_value b.postdate %> | "><%= format_value b.deadline %> | <%= link_to b.bulletin_comments.count.to_s,"/#{I18n.locale}/admin/announcements/#{b.id}/comment" %> | <%= b.update_user.user_name rescue ""%> <%= format_value b.updated_at %> |
" class="footable-row-detail-inner" style="display: none;">
<%= t(:view_count) %> :
<%= b.view_count %>
<%= 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 %>
|