<div class="table-responsive">
<table class="table table-hover">
<thead>
<tr>
<th scope="col"><%= _('Project Title') %> <%= paginable_sort_link('plans.title') %></th>
<th scope="col"><%= _('Template') %> <%= paginable_sort_link('templates.title') %></th>
<th scope="col"><%= _('Organisation') %></th>
<th scope="col"><%= _('Owner') %></th>
<th scope="col" class="sorter-false text-center"><%= _('Download') %></th>
</tr>
</thead>
<tbody>
<% scope.each do |plan| %>
<tr class="table-data">
<td><%= plan.title %></td>
<td><%= plan.template.title %></td>
<td><%= (plan.owner.nil? || plan.owner.org.nil? ? _('Not Applicable') : plan.owner.org.name) %></td>
<td><%= (plan.owner.nil? ? _('Unknown') : plan.owner.name(false)) %></td>
<td class="text-center">
<%= link_to _('PDF'), plan_export_path(plan, format: :pdf), class: "dmp_table_link", target: '_blank' %>
</td>
</tr>
<% end %>
</tbody>
</table>
</div>