2014-07-02 03:54:14 +00:00
|
|
|
<% @diplomas.each do |diploma| %>
|
|
|
|
<tr id="<%= dom_id diploma %>" class="<%= diploma.is_hidden ? "checkHide" : "" %>">
|
2014-10-02 11:28:25 +00:00
|
|
|
<td><%= diploma.member_profile.name rescue "" %></td>
|
2014-07-02 03:54:14 +00:00
|
|
|
<td><%= diploma.duration %></td>
|
|
|
|
<td>
|
2014-07-04 04:12:14 +00:00
|
|
|
<%= link_to diploma.school_name, OrbitHelper.url_to_plugin_show(diploma.to_param,'personal_diploma'), target: "blank"%>
|
2014-07-02 03:54:14 +00:00
|
|
|
<div class="quick-edit">
|
|
|
|
<ul class="nav nav-pills hide">
|
2014-10-02 11:20:34 +00:00
|
|
|
<li><%= link_to t('edit'), edit_admin_diploma_path(diploma) %></li>
|
|
|
|
<li><%= link_to t(:delete_), admin_diploma_path(id: diploma.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
|
2014-07-02 03:54:14 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td><%= diploma.department %></td>
|
|
|
|
<td><%= diploma.degree %></td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|