Remove tag for attached files in docx [SCI-11027]

This commit is contained in:
Andrej 2024-09-05 16:21:39 +02:00
parent c128f2f003
commit 2ccf1abc91

View file

@ -29,10 +29,6 @@ module Reports::Docx::DrawResultAsset
text ' ' + I18n.t('projects.reports.elements.result_asset.user_time',
user: result.user.full_name, timestamp: I18n.l(timestamp, format: :full)), color: color[:gray]
end
if settings.dig(:task, :file_results_previews) && ActiveStorageFileUtil.previewable_document?(asset&.file&.blob)
text " #{I18n.t('projects.reports.elements.result_asset.full_preview_attached')}", color: color[:gray]
end
end
draw_result_comments(result) if @settings.dig('task', 'result_comments')