22 lines
816 B
Plaintext
22 lines
816 B
Plaintext
<tr id="<%= dom_id honor %>" class="with_action">
|
|
<td>
|
|
<% if (honor.create_user_id == current_user.id) || is_manager? %>
|
|
<%= check_box_tag 'to_delete[]', honor.id, false, :class => "checkbox_in_list" %>
|
|
<% end -%>
|
|
</td>
|
|
<td><%= honor.year %></td>
|
|
<td>
|
|
<%= link_to honor.award_name, panel_personal_honor_front_end_honor_path(honor) %>
|
|
<div class="quick-edit">
|
|
<ul class="nav nav-pills hide">
|
|
<%if at_least_module_manager || honor.honor_category.cur_user_is_sub_manager_of(:edit)%>
|
|
<li><%= link_to t('edit'), edit_panel_personal_honor_plugin_honor_path(honor) %></li>
|
|
<li><%= link_to t(:delete_), panel_personal_honor_plugin_honor_path(honor), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
|
|
<% end -%>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
<td><%= honor.awarding_unit %></td>
|
|
</tr>
|
|
|