personal_project/app/views/admin/projects/_projects.html.erb

18 lines
814 B
Plaintext
Raw Permalink Normal View History

2024-01-23 00:11:24 +00:00
<% @projects.each do |project| %>
<tr id="<%= dom_id project %>" class="with_action">
<td> <%= project.year %> </td>
<td>
<%= link_to project.project_title, OrbitHelper.url_to_plugin_show(project.to_param,'personal_project').to_s, target: "blank" %>
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><%= link_to t('edit'), edit_admin_project_path(project,:page => params[:page]) %></li>
<li><%= link_to t(:delete_), admin_project_path(id: project.id, :page => params[:page]), method: :delete, data: { confirm: 'Are you sure?' } %></li>
</ul>
</div>
</td>
<td> <%= project.project_number %> </td>
<td> <%= project.display_field("member_profile").html_safe rescue "" %> </td>
2024-01-29 14:16:41 +00:00
<td> <%= project.jobs %> </td>
2024-01-23 00:11:24 +00:00
<td> <%= project.participants %> </td>
</tr>
<% end %>