<%= b.status_for_table %> | <%= b.category.title %> |
<% if b.expired? %>
<% if b.rejected %>
<% if !b.title_translations["zh_tw"].blank? %>
<%= b.title_translations["zh_tw"] %><%= t(:expired)+','+t(:rejected) %> : <%= b.rejection_reason rescue "" %> <% end %> <% if !b.title_translations["en"].blank? %> <%= b.title_translations["en"] %><%= t(:expired)+','+t(:rejected) %> : <%= b.rejection_reason rescue "" %> <% end %> <% else %> <% if !b.title_translations["zh_tw"].blank? %> <%= b.title_translations["zh_tw"] %> <%= t(:expired) %> <% end %> <% if !b.title_translations["en"].blank? %> <%= b.title_translations["en"] %> <%= t(:expired) %> <% end %> <% end %> <% elsif b.rejected %> <%# url = page_for_bulletin(b) %> <% if !b.title_translations["zh_tw"].blank? %> <%= b.title_translations["zh_tw"] %> <%= t(:rejected) %> : <%= b.rejection_reason rescue "" %> <% end %> <% if !b.title_translations["en"].blank? %> <%= b.title_translations["en"] %> <%= t(:rejected) %> : <%= b.rejection_reason rescue "" %> <% end %> <% elsif !b.approved? %> <% url = page_for_news_bulletin(b) %> <% if !b.title_translations["zh_tw"].blank? %> <%= b.title_translations["zh_tw"] %> <%= t(:pending) %> <% end %> <% if !b.title_translations["en"].blank? %> <%= b.title_translations["en"] %> <%= t(:pending) %> <% end %> <% else %> <% url = page_for_news_bulletin(b) %> <% if !b.title_translations["zh_tw"].blank? %> <%= b.title_translations["zh_tw"] %> <% end %> <% if !b.title_translations["en"].blank? %> <%= b.title_translations["en"] %> <% end %> <% end %> |
<%= format_value b.postdate %> | "><%= format_value b.deadline %> | <%= MemberProfile.find(b.update_user.member_profile_id).last_name_translations[I18n.locale.to_s] rescue " " %> <%= MemberProfile.find(b.update_user.member_profile_id).first_name_translations[I18n.locale.to_s] rescue " " %> | <%= b.view_count %> |
" 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 %>
|