diff --git a/app/views/shared/_asset_link.html.erb b/app/views/shared/_asset_link.html.erb index 70204927e..3b33a56ad 100644 --- a/app/views/shared/_asset_link.html.erb +++ b/app/views/shared/_asset_link.html.erb @@ -5,5 +5,5 @@ id: true, status: 'asset-present', 'preview-url': asset_file_preview_path(asset) } do %> - <%= render partial: 'shared/asset_placeholder.html.erb', locals: { edit_page: false, asset: asset } %> + <%= truncate(asset.file_name, length: Constants::FILENAME_TRUNCATION_LENGTH) %> <% end %>