diff --git a/app/views/branded/paginable/templates/_publicly_visible.html.erb b/app/views/branded/paginable/templates/_publicly_visible.html.erb index 94e0cd3..f08ebd4 100644 --- a/app/views/branded/paginable/templates/_publicly_visible.html.erb +++ b/app/views/branded/paginable/templates/_publicly_visible.html.erb @@ -8,7 +8,9 @@ <%= d_('dmpopidor', 'Description') %> <%= _('Last Updated') %> <%= paginable_sort_link('templates.updated_at') %> <%= _('Download') %> - <%= _('Actions') %> + <% if !current_user.nil? && current_user.org.active? %> + <%= _('Actions') %> + <% end %> @@ -29,12 +31,12 @@ <%= _('(new window)') %> <% end %> - - <% if current_user.org.active? %> + <% if !current_user.nil? && current_user.org.active? %> + <%= direct_link(template) %> - <% end %> - + + <% end %> <% end %>