diff --git a/app/views/datasets/_datafile_table.html.erb b/app/views/datasets/_datafile_table.html.erb index d3f15df4..0d00b712 100644 --- a/app/views/datasets/_datafile_table.html.erb +++ b/app/views/datasets/_datafile_table.html.erb @@ -56,7 +56,8 @@ CSV '<%= datafile.name %>', Dataset: <%= @dataset.title %> <% end %> <% elsif datafile.wms? && @dataset.inspire_dataset.present? %> - <%= link_to t('.map_preview'), map_preview_url(@dataset, datafile) %> + + <%= t('.not_available') %> <% else %> <%= t('.not_available') %> <% end %> diff --git a/app/views/map_previews/show.html.erb b/app/views/map_previews/show.html.erb index abfb0f1d..18977f4e 100644 --- a/app/views/map_previews/show.html.erb +++ b/app/views/map_previews/show.html.erb @@ -29,6 +29,7 @@ <%= link_to 'Back', :back, class: 'dgu-back-link govuk-link' %> <% end %> +