18 lines
825 B
Plaintext
18 lines
825 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 %></td>
|
|
<td><%= project.unit %></td>
|
|
<td><%= project.member_profile.name rescue "" %></td>
|
|
</tr>
|
|
<% end %> |