academic_advising/app/views/admin/academic_advisings/_academic_advising.html.erb

17 lines
943 B
Plaintext

<% @academic_advisings.each do |academic_advising| %>
<tr id="<%= dom_id academic_advising %>" class="<%= academic_advising.is_hidden ? "checkHide" : "" %>">
<td><%= academic_advising.display_year %></td>
<td><%= academic_advising.display_advising_type %></td>
<td>
<%= link_to academic_advising.award_name, OrbitHelper.url_to_plugin_show(academic_advising.to_param,'academic_advising'), target: "blank"%>
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><%= link_to t('edit'), edit_admin_academic_advising_path(academic_advising) %></li>
<li><%= link_to t(:delete_), admin_academic_advising_path(id: academic_advising.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
</ul>
</div>
</td>
<td><%= academic_advising.awarding_unit %></td>
<td><%= academic_advising.member_profile.name rescue "" %></td>
</tr>
<% end %>