mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-06 20:56:42 +08:00
Remove tag for attached files in docx [SCI-11027]
This commit is contained in:
parent
c128f2f003
commit
2ccf1abc91
1 changed files with 0 additions and 4 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue