
<tr id="<%= dom_id post %>">
	<td></td>
	<td><%= post.bulletin_category.i18n_variable[I18n.locale] %></td>
	<td><%#= link_to post.title, panel_announcement_front_end_bulletin_path(post) %>
	<%= link_to post.title, panel_announcement_back_end_bulletin_path(post) %>
	</td>
	<td><%= post.postdate %></td>
	<td><%= (post.deadline) ? post.deadline : t('bulletin.no_deadline') %></td>
	<td>
	<%= link_to t('bulletin.edit'), edit_panel_announcement_back_end_bulletin_path(post) %> | 
	
	<%= link_to t(:set_top), eval("panel_announcement_back_end_bulletin_path(post, :authenticity_token => form_authenticity_token, :bulletin => {:is_top => true})"), :remote => true, :method => :put, :id => "disable_#{post.id}", :style => "display:#{post.is_top? ? 'none' : ''}", :class => 'switch' %>
	<%= link_to t(:cancel_top), eval("panel_announcement_back_end_bulletin_path(post, :authenticity_token => form_authenticity_token, :bulletin => {:is_top => false})"), :remote => true, :method => :put, :id => "enable_#{post.id}", :style => "display:#{post.is_top? ? '' : 'none'}", :class => 'switch' %>
			
	 | <%= link_to t('bulletin.delete'), panel_announcement_back_end_bulletin_path(post), :confirm => t('announcement.sure?'), :method => :delete, :remote => true %>
	</td>
</tr>
