From 73e35994d5de0b567efe0f9221a95aa6e1941bf3 Mon Sep 17 00:00:00 2001 From: Giga Chubinidze Date: Wed, 9 Aug 2023 04:19:57 +0400 Subject: [PATCH] new icon changes --- .../javascripts/repositories/renderers/view_renderers.js | 2 +- app/assets/stylesheets/steps/step_attachments.scss | 4 ---- .../repository_datatable/repository_asset_value_serializer.rb | 2 +- app/views/assets/wopi/_file_wopi_controls.html.erb | 4 ++-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/app/assets/javascripts/repositories/renderers/view_renderers.js b/app/assets/javascripts/repositories/renderers/view_renderers.js index b67fa7c29..364bf1aaf 100644 --- a/app/assets/javascripts/repositories/renderers/view_renderers.js +++ b/app/assets/javascripts/repositories/renderers/view_renderers.js @@ -5,7 +5,7 @@ $.fn.dataTable.render.RepositoryAssetValue = function(data) { if (asset.id) { return `
- ${asset.icon_html} +
e Rails.logger.error e.message diff --git a/app/views/assets/wopi/_file_wopi_controls.html.erb b/app/views/assets/wopi/_file_wopi_controls.html.erb index 2ab712f82..89acb2595 100644 --- a/app/views/assets/wopi/_file_wopi_controls.html.erb +++ b/app/views/assets/wopi/_file_wopi_controls.html.erb @@ -3,7 +3,7 @@ id: 'wopi_file_edit_button', class: 'btn btn-light', target: '_blank' do %> - <%= file_application_icon(asset) %> + <%= wopi_button_text(asset, 'edit') %> <% end %> <% else %> @@ -13,7 +13,7 @@ target: '_blank', title: title, disabled: true do %> - <%= file_application_icon(asset) %> + <%= wopi_button_text(asset, 'edit') %> <% end %> <% end %>