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
Add required fields and update submit button label
Mir Bhatia4f2968031617
diff --git a/modules/meeting/app/components/meetings/index/dialog_component.html.erb b/modules/meeting/app/components/meetings/index/dialog_component.html.erbindex 7eafcf9ffac..cad7e1d5cf9 100644--- a/modules/meeting/app/components/meetings/index/dialog_component.html.erb+++ b/modules/meeting/app/components/meetings/index/dialog_component.html.erb@@ -29,6 +29,8 @@)) doif @meeting.persisted?I18n.t(:button_save)+ elsif @meeting.is_a?(RecurringMeeting)+ I18n.t(:label_recurring_meeting_series_create)elseI18n.t(:label_meeting_create)enddiff --git a/modules/meeting/app/forms/recurring_meeting/end_after.rb b/modules/meeting/app/forms/recurring_meeting/end_after.rbindex 7b472534166..1f58b4609ea 100644--- a/modules/meeting/app/forms/recurring_meeting/end_after.rb+++ b/modules/meeting/app/forms/recurring_meeting/end_after.rb@@ -30,6 +30,7 @@ class RecurringMeeting::EndAfter < ApplicationFormform do |meeting_form|meeting_form.select_list(name: "end_after",+ required: true,label: I18n.t("activerecord.attributes.recurring_meeting.end_after"),data: {target_name: "end_after",diff --git a/modules/meeting/app/forms/recurring_meeting/frequency.rb b/modules/meeting/app/forms/recurring_meeting/frequency.rbindex 8ed3963ec16..2080ed6d554 100644--- a/modules/meeting/app/forms/recurring_meeting/frequency.rb+++ b/modules/meeting/app/forms/recurring_meeting/frequency.rb@@ -30,6 +30,7 @@ class RecurringMeeting::Frequency < ApplicationFormform do |meeting_form|meeting_form.select_list(name: "frequency",+ required: true,label: I18n.t("activerecord.attributes.recurring_meeting.frequency"),data: {target_name: "frequency",diff --git a/modules/meeting/app/forms/recurring_meeting/interval.rb b/modules/meeting/app/forms/recurring_meeting/interval.rbindex e94f080bf69..1828d1d9cc0 100644--- a/modules/meeting/app/forms/recurring_meeting/interval.rb+++ b/modules/meeting/app/forms/recurring_meeting/interval.rb@@ -30,6 +30,7 @@ class RecurringMeeting::Interval < ApplicationFormform do |meeting_form|meeting_form.text_field(name: :interval,+ required: true,type: :number,step: 1,max: RecurringMeeting::MAX_INTERVAL,diff --git a/modules/meeting/config/locales/en.yml b/modules/meeting/config/locales/en.ymlindex 70a70868a32..58a296ee62e 100644--- a/modules/meeting/config/locales/en.yml+++ b/modules/meeting/config/locales/en.yml@@ -149,6 +149,7 @@ en:label_recurring_meeting_more_past: "There are %{count} more past meetings."label_recurring_meeting_more_past_singular: "There is %{count} more past meeting."label_recurring_meeting_show_more: "Show more"+ label_recurring_meeting_series_create: "Create meeting series"label_recurring_meeting_series_edit: "Edit meeting series"label_recurring_meeting_series_delete: "Delete meeting series"label_my_meetings: "My meetings"