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
Move Meeting Sidebar component to SidePanel
Oliver Günther7f5afea7382d
diff --git a/modules/meeting/app/components/meetings/side_panel/attachments_component.html.erb b/modules/meeting/app/components/meetings/side_panel/attachments_component.html.erbindex 50ebdbcd680..1baa07bc76d 100644--- a/modules/meeting/app/components/meetings/side_panel/attachments_component.html.erb+++ b/modules/meeting/app/components/meetings/side_panel/attachments_component.html.erb@@ -5,30 +5,20 @@section.with_description { I18n.t('meeting.attachments.text') }section.with_counter { @meeting.attachments.count }- flex_layout do |attachments_container|- attachments_container.with_row do- resource = ::API::V3::Meetings::MeetingRepresenter.new(@meeting, current_user: User.current, embed_links: false)- helpers.list_attachments(resource,- inputs: {- allowUploading: true,- showTimestamp: false,- externalUploadButton: "#meetings-add-attachments"- })- end-- attachments_container.with_row(mt: 1) do- render(Primer::Beta::Button.new(- scheme: :link,- color: :default,- underline: false,- font_weight: :bold,- id: "meetings-add-attachments"- )) do |button|- button.with_leading_visual_icon(icon: "op-attachmentadd")- t("js.label_add_attachments")- end- end+ section.with_footer_button(+ id: "meetings-add-attachments"+ ) do |button|+ button.with_leading_visual_icon(icon: "op-attachmentadd")+ t("js.label_add_attachments")end++ resource = ::API::V3::Meetings::MeetingRepresenter.new(@meeting, current_user: User.current, embed_links: false)+ helpers.list_attachments(resource,+ inputs: {+ allowUploading: true,+ showTimestamp: false,+ externalUploadButton: "#meetings-add-attachments"+ })endend%>diff --git a/modules/meeting/app/components/meetings/side_panel/details_component.html.erb b/modules/meeting/app/components/meetings/side_panel/details_component.html.erbindex 4cdb05c5f1a..7add1558ddf 100644--- a/modules/meeting/app/components/meetings/side_panel/details_component.html.erb+++ b/modules/meeting/app/components/meetings/side_panel/details_component.html.erb@@ -10,7 +10,7 @@tag: :a,href: details_dialog_meeting_path(@meeting),data: { controller: 'async-dialog' },- 'aria-label': t("label_meeting_manage_participants"),+ 'aria-label': t(:label_meeting_details_edit),test_selector: "edit-meeting-details-button",)end@@ -81,7 +81,7 @@details.with_row(mt: 2, classes: 'meeting-detail-participants', display: [nil, nil, :none]) dorender_meeting_attribute_row(:people) do- flex_layout do |people|+ flex_layout(align_items: :center) do |people|people.with_column(mr: 2) dorender(Primer::Beta::Text.new) doMeeting.human_attribute_name(