diff --git a/app/views/paginable/templates/_publicly_visible.html.erb b/app/views/paginable/templates/_publicly_visible.html.erb index 7979955..cf57d57 100644 --- a/app/views/paginable/templates/_publicly_visible.html.erb +++ b/app/views/paginable/templates/_publicly_visible.html.erb @@ -3,23 +3,25 @@ <%= _('Template Name') %> <%= paginable_sort_link('templates.title') %> - <%= _('Download') %> <%= _('Organisation Name') %> <%= paginable_sort_link('orgs.name') %> <%= d_('dmpopidor', 'Organisation Type') %> <%= paginable_sort_link('orgs.org_type') %> + <%= d_('dmpopidor', 'Description') %> <%= _('Last Updated') %> <%= paginable_sort_link('templates.updated_at') %> + <%= _('Download') %> <% scope.each do |template| %> <%= template.title %> + <%= template.org.name %> + <%= _(template.org.org_type_to_s) %> + <%= raw template.description %> + <%= l(template.updated_at.to_date, formats: :short) %> <%= link_to _('DOCX'), template_export_path(template.family_id, format: :docx), target: '_blank' %>
<%= link_to _('PDF'), template_export_path(template.family_id, format: :pdf), target: '_blank' %> - <%= template.org.name %> - <%= _(template.org.org_type_to_s) %> - <%= l(template.updated_at.to_date, formats: :short) %> <% end %>