From 91d24324604ed2ebe647a2f43ad846796d6d32ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Tue, 17 May 2022 14:48:57 +0200 Subject: [PATCH] Remove the magnifier icon #1358 --- app/views/dmsf_files/_link.html.erb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/views/dmsf_files/_link.html.erb b/app/views/dmsf_files/_link.html.erb index 5527b9ed..ddcd0437 100644 --- a/app/views/dmsf_files/_link.html.erb +++ b/app/views/dmsf_files/_link.html.erb @@ -31,12 +31,6 @@ class: "icon icon-file #{DmsfHelper.filetype_css(dmsf_file.name)}", title: h(dmsf_file.last_revision.try(:tooltip)), 'data-downloadurl' => "#{dmsf_file.last_revision.detect_content_type}:#{h(dmsf_file.name)}:#{file_view_url}" %> - <% if dmsf_file.text? || dmsf_file.image? %> - <%= link_to l(:button_view), - file_view_url, - class: 'icon-only icon-magnifier', - title: l(:button_view) %> - <% end %> <%= " - #{dmsf_file.description}" unless dmsf_file.description.blank? %> (<%= number_to_human_size dmsf_file.last_revision.size %>) <%= dmsf_file.last_revision.user %>, <%= format_time(dmsf_file.last_revision.updated_at) %>