18 lines
843 B
Plaintext
18 lines
843 B
Plaintext
<% @projects.each do |project| %>
|
|
<tr id="<%= dom_id project %>" class="<%= project.is_hidden ? "checkHide" : "" %>">
|
|
<td><%= project.duration %></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) %></li>
|
|
<li><%= link_to t(:delete_), admin_project_path(id: project.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
<td><%= project.job_title %></td>
|
|
<td><%= project.participator.to_s.html_safe %></td>
|
|
<td><%= project.unit %></td>
|
|
<td><%= get_participator_show(project).html_safe %></td>
|
|
</tr>
|
|
<% end %> |