From 672aaceb5ca09e80af47ca4ffcb6a141347b13e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Pa=C5=82ucha?= Date: Tue, 13 Oct 2020 19:33:19 +0100 Subject: [PATCH] Display image path Use by admin team during spreadsheet metadata validation before ingest. Cherry pick @yf508 changes from 246a336f20cf4d877233100e4d59430ee991e768 --- app/views/entries/_image_zoom_small.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/entries/_image_zoom_small.erb b/app/views/entries/_image_zoom_small.erb index fc5b916b..15f3a840 100644 --- a/app/views/entries/_image_zoom_small.erb +++ b/app/views/entries/_image_zoom_small.erb @@ -51,7 +51,10 @@ <% context_path = ENV["CONTEXT_PATH"] %> +
Image: <%= session[:folio_image].split('/').last() %> + <% if session['alt_image'] != [] %> +
UV image: <%= session[:alt_image][0].split('/').last() %>
<%= link_to "View UV image", "#", :onclick => "popup('#{context_path}/image_zoom_large/alt', 'image_zoom_large'); return false" %> <%= link_to image_tag('magnifying_glass.png', :alt => 'magnifying glass icon', :class => 'icon', :style => 'position: relative; top: 7px', :title => 'Image zoom'), '#', :onclick => "popup('#{context_path}/image_zoom_large/alt', 'image_zoom_large'); return false", :title => "" %>