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
Update recurring meeting form for create and edit
Mir Bhatiab762c8801b21
diff --git a/modules/meeting/app/components/meetings/index/form_component.html.erb b/modules/meeting/app/components/meetings/index/form_component.html.erbindex f54aca3dff8..a08ea8fdcb4 100644--- a/modules/meeting/app/components/meetings/index/form_component.html.erb+++ b/modules/meeting/app/components/meetings/index/form_component.html.erb@@ -29,6 +29,12 @@endend+ if @meeting.is_a?(RecurringMeeting) && @meeting.persisted?+ modal_body.with_row(mb: 3) do+ render(Meetings::EmailUpdatesBannerComponent.new(@meeting))+ end+ end+if @project.nil?modal_body.with_row(mb: 3) dorender(Meeting::ProjectAutocompleter.new(f))@@ -117,33 +123,35 @@endend- modal_body.with_row(mt: 3) do- render(Meeting::SendEmailUpdates.new(f, meeting: @meeting))- end+ if (@meeting.is_a?(RecurringMeeting) && [email protected]?) || @meeting.is_a?(Meeting)+ modal_body.with_row(mt: 3) do+ render(Meeting::SendEmailUpdates.new(f, meeting: @meeting))+ end- modal_body.with_row(- mt: 3,- data: {- "show-when-checked-target-name": "notification-banner",- "show-when-checked-target": "effect",- "show-when": "checked",- visibility_class: "d-none"- }- ) do- render(Meetings::EmailUpdatesBannerComponent.new(@meeting, override: :enabled))- end+ modal_body.with_row(+ mt: 3,+ data: {+ "show-when-checked-target-name": "notification-banner",+ "show-when-checked-target": "effect",+ "show-when": "checked",+ visibility_class: "d-none"+ }+ ) do+ render(Meetings::EmailUpdatesBannerComponent.new(@meeting, override: :enabled))+ end- modal_body.with_row(- mt: 3,- classes: "d-none",- data: {- "show-when-checked-target-name": "notification-banner",- "show-when-checked-target": "effect",- "show-when": "unchecked",- visibility_class: "d-none"- }- ) do- render(Meetings::EmailUpdatesBannerComponent.new(@meeting, override: :muted))+ modal_body.with_row(+ mt: 3,+ classes: "d-none",+ data: {+ "show-when-checked-target-name": "notification-banner",+ "show-when-checked-target": "effect",+ "show-when": "unchecked",+ visibility_class: "d-none"+ }+ ) do+ render(Meetings::EmailUpdatesBannerComponent.new(@meeting, override: :muted))+ endendif @copy_from