2023-11-16 20:23:09 +00:00
|
|
|
|
<% html_title "Jobs" %>
|
|
|
|
|
<div class="contextual">
|
2023-11-26 20:52:05 +00:00
|
|
|
|
<%= link_to 'New job', new_project_job_path(project: @project), class: "icon icon-add new-job" %>
|
2023-11-16 20:23:09 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h2>Jobs</h2>
|
|
|
|
|
|
|
|
|
|
<% if @jobs.empty? %>
|
|
|
|
|
<p>You haven’t created any jobs yet.</p>
|
|
|
|
|
<% else %>
|
|
|
|
|
<table class="list">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Starts on</th>
|
|
|
|
|
<th>Ends on</th>
|
|
|
|
|
<th>Project</th>
|
|
|
|
|
<th>External project</th>
|
2023-11-27 08:55:57 +00:00
|
|
|
|
<th>Total budget</th>
|
|
|
|
|
<th>Progress</th>
|
2023-11-16 20:23:09 +00:00
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<%= render @jobs %>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<% end %>
|