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

28 lines
578 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<% 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 havent 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>Project</th>
<th>External project</th>
<th>Progress</th>
</tr>
</thead>
<tbody>
<%= render @jobs %>
</tbody>
</table>
<% end %>