26 lines
519 B
Plaintext
26 lines
519 B
Plaintext
<% html_title "Jobs" %>
|
||
<div class="contextual">
|
||
<%= link_to 'New job', new_project_job_path(project: @project), class: "icon icon-add new-job" %>
|
||
</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>Category</th>
|
||
<th>Starts on</th>
|
||
<th>Ends on</th>
|
||
<th>Progress</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<%= render @jobs %>
|
||
</tbody>
|
||
</table>
|
||
<% end %>
|