<tr id="<%= dom_id bulletin %>" class="with_action">
	<td><input type="checkbox"></td>
	<td>
		<% if bulletin.is_top? %>
			<span class="label label-success"><%= t(:top) %></span>
		<% end %>
		<% if bulletin.is_hot? %>
			<span class="label label-important"><%= t(:hot) %></span>
		<% end %>
		<% if bulletin.is_hidden? %>
			<span class="label"><%= t(:hidden) %></span>
		<% end %>
		<div class="quick-edit">
			<ul class="nav nav-pills hide">
				<li><%= link_to t('bulletin.edit'), edit_panel_announcement_back_end_bulletin_path(bulletin) %></li>
				<li class="dropdown">
					<a href="#" data-toggle="dropdown" class="dropdown-toggle"><%= t(:quick_edit) %><b class="caret"></b></a>
					<ul class="dropdown-menu" id="menu1">
						<li><a href="#" class='toggle-tr-edit' rel='basic'><%= t(:basic) %></a></li>
						<li><a href="#" class='toggle-tr-edit' rel='picture'><%= t(:picture) %></a></li>
						<li><a href="#" class='toggle-tr-edit' rel='tags'><%= t(:tags) %></a></li>
						<li><a href="#" class='toggle-tr-edit' rel='link'><%= t(:link) %></a></li>
						<li><a href="#" class='toggle-tr-edit' rel='file'><%= t(:file) %></a></li>
					</ul>
				</li>
				<li class="dropdown"><%= link_to t('bulletin.delete'), panel_announcement_back_end_bulletin_path(bulletin), :confirm => t('announcement.sure?'), :method => :delete, :remote => true %></li>
			</ul>
		</div>
	</td>
	<td><%= bulletin.bulletin_category.i18n_variable[I18n.locale] %></td>
	<td><%= link_to bulletin.title[I18n.locale], panel_announcement_back_end_bulletin_path(bulletin) %></td>
	<td><%= bulletin.postdate %></td>
	<td><%= (bulletin.deadline) ? bulletin.deadline : t('bulletin.no_deadline') %></td>
	<td>
		<% bulletin.sorted_tags.each do |tag| %>
			<span class="label label-tags"><%= tag[I18n.locale] %></span>
		<% end %>
	</td>
	<td><%= User.from_id(bulletin.update_user_id).name %></td>
</tr>

<%= render :partial => 'quick_edit', :locals => {:bulletin => bulletin} %>

<% content_for :page_specific_javascript do %>
	<script>

	</script>
<% end %>