<tr id="<%= dom_id diploma %>" class="with_action">
	<td>
		<% if (diploma.create_user_id ==  current_user.id) || is_manager? %>
			<%= check_box_tag 'to_delete[]', diploma.id, false, :class => "checkbox_in_list" %>
		<% end -%>
	</td>
	<td><%= diploma.start_date.strftime("%Y.%m") %> ~ <%= diploma.end_date.strftime("%Y.%m") %></td>
	<td>
	<%= link_to diploma.school_name, panel_personal_diploma_front_end_diploma_path(diploma) %>
	<div class="quick-edit">
		<ul class="nav nav-pills hide">
			<%if at_least_module_manager || diploma.diploma_category.cur_user_is_sub_manager_of(:edit)%>
			<li><%= link_to t('edit'), edit_panel_personal_diploma_back_end_diploma_path(diploma) %></li>
			<li><%= link_to t('delete'), panel_personal_diploma_back_end_diploma_path(diploma), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
			<% end -%>
		</ul>
	</div>
	</td>
	<td><%= User.from_id(diploma.create_user_id).name rescue ''%></td>
</tr>

