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 %>