<div class="table-responsive">
  <table class="table table-hover">
    <thead>
      <tr>
        <th scope="col"><%= _('Project Title') %>&nbsp;<%= paginable_sort_link('plans.title') %></th>
        <th scope="col"><%= _('Template') %>&nbsp;<%= 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-column"><%= _('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 plan_export_path(plan, format: :pdf),
                class: "dmp_table_link", target: '_blank' do %>
              <i class="fa fa-file-pdf-o" aria-hidden="true"></i>
              <em class="sr-only"><%= _('(new window)') %></em>
            <% end %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>