From 15c124f3fdf00fdfa67bc624511eb5f7cd196cb0 Mon Sep 17 00:00:00 2001 From: Zanz2 Date: Mon, 27 Aug 2018 13:07:18 +0200 Subject: [PATCH] replaced image icon with paperclip, to represent files, removed all image icons --- app/views/my_modules/_result.html.erb | 2 +- app/views/my_modules/archive/_result.html.erb | 2 +- app/views/my_modules/results.html.erb | 2 +- app/views/search/results/_assets.html.erb | 2 +- app/views/search/results/_results.html.erb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/my_modules/_result.html.erb b/app/views/my_modules/_result.html.erb index e00d55490..66a9c2b3f 100644 --- a/app/views/my_modules/_result.html.erb +++ b/app/views/my_modules/_result.html.erb @@ -6,7 +6,7 @@ <% elsif result.is_table %> <% elsif result.is_asset %> - + <% end %> diff --git a/app/views/my_modules/archive/_result.html.erb b/app/views/my_modules/archive/_result.html.erb index 1722a191a..51b70b1da 100644 --- a/app/views/my_modules/archive/_result.html.erb +++ b/app/views/my_modules/archive/_result.html.erb @@ -37,7 +37,7 @@

<% if result.is_asset %> <% if result.asset.is_image? %> - + <% else %> <% end %> diff --git a/app/views/my_modules/results.html.erb b/app/views/my_modules/results.html.erb index b59754da2..5c9ff2970 100644 --- a/app/views/my_modules/results.html.erb +++ b/app/views/my_modules/results.html.erb @@ -34,7 +34,7 @@ id="new-result-asset" data-href="<%= new_my_module_result_asset_path(my_module_id: @my_module.id) %>" href="#"> - + <% end %> diff --git a/app/views/search/results/_assets.html.erb b/app/views/search/results/_assets.html.erb index 29db8e9e6..73a884c4e 100644 --- a/app/views/search/results/_assets.html.erb +++ b/app/views/search/results/_assets.html.erb @@ -1,7 +1,7 @@ <% @asset_results.each do |asset| %>

<% if asset.is_image? %> - + <% else %> <% if wopi_file?(asset) %> <%= file_extension_icon(asset) %> diff --git a/app/views/search/results/_results.html.erb b/app/views/search/results/_results.html.erb index c58fba06f..4f2849096 100644 --- a/app/views/search/results/_results.html.erb +++ b/app/views/search/results/_results.html.erb @@ -6,7 +6,7 @@ <% else %> <% if result.asset.is_image? %> - + <% else %> <% end %>