forked from saurabh/personal-project
18 lines
905 B
Plaintext
18 lines
905 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'), '/admin/members/'+project.member_profile.to_param+'/projects/'+project.id+'/edit' %></li>
|
|
<li><%= link_to t(:delete_), admin_project_path(id: project.id, member_profile_id: project.member_profile.id), method: :delete, remote: true, data: { confirm: t('sure?') } %></li>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
<td><%= project.job_title %></td>
|
|
<td><%= project.participator %></td>
|
|
<td><%= project.unit %></td>
|
|
<td><%= project.member_profile.name %></td>
|
|
</tr>
|
|
<% end %> |