Redmine-Jobs/app/views/jobs/index.html.erb

28 lines
582 B
Plaintext
Raw Normal View History

2023-11-16 20:23:09 +00:00
<% html_title "Jobs" %>
<div class="contextual">
<%= 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 havent 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>
<th>Total budget</th>
<th>Progress</th>
2023-11-16 20:23:09 +00:00
</tr>
</thead>
<tbody>
<%= render @jobs %>
</tbody>
</table>
<% end %>