OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Show text above attachment list
Oliver Günther9d23501ad200
diff --git a/modules/meeting/app/components/meetings/sidebar/attachments_component.html.erb b/modules/meeting/app/components/meetings/sidebar/attachments_component.html.erbindex 7a90c1f69c5..4f61e9073a5 100644--- a/modules/meeting/app/components/meetings/sidebar/attachments_component.html.erb+++ b/modules/meeting/app/components/meetings/sidebar/attachments_component.html.erb@@ -4,6 +4,10 @@render(Primer::Beta::Heading.new(tag: :h4)) { I18n.t(:label_attachment_plural) }end+ attachments_container.with_row(mt: 2) do+ render(Primer::Beta::Text.new(color: :subtle)) { I18n.t('meeting.attachments.text') }+ end+attachments_container.with_row(mt: 2) doresource = ::API::V3::Meetings::MeetingRepresenter.new(@meeting, current_user: User.current, embed_links: false)helpers.list_attachments(resource,diff --git a/modules/meeting/config/locales/en.yml b/modules/meeting/config/locales/en.ymlindex 0cc1ca45bb6..738269aecf3 100644--- a/modules/meeting/config/locales/en.yml+++ b/modules/meeting/config/locales/en.yml@@ -114,7 +114,7 @@ en:meeting:attachments:- dropzone_text: "Click or drop files here or into agenda item notes to attach them to the meeting."+ text: "Attached files are available to all meeting participants. You can also drag and drop tehse into agenda item notes."copy:title: "Copy meeting %{title}"attachments: "Copy attachments"