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
Rename dynamic meetings to One-time (#17447)
Oliver Günther621c0ed988be
diff --git a/modules/meeting/app/components/meetings/index_sub_header_component.html.erb b/modules/meeting/app/components/meetings/index_sub_header_component.html.erbindex 1dfc5075859..b1aca653a07 100644--- a/modules/meeting/app/components/meetings/index_sub_header_component.html.erb+++ b/modules/meeting/app/components/meetings/index_sub_header_component.html.erb@@ -27,18 +27,24 @@tag: :a,href: new_dialog_meetings_path(project_id: @project&.id, type: :structured),content_arguments: { data: { controller: "async-dialog" }}- )+ ) do |item|+ item.with_description.with_content(t("meeting.types.structured_text"))+ endmenu.with_item(label: I18n.t("meeting.types.recurring"),tag: :a,href: new_dialog_meetings_path(project_id: @project&.id, type: :recurring),content_arguments: { data: { controller: "async-dialog" }}- )+ ) do |item|+ item.with_description.with_content(t("meeting.types.recurring_text"))+ endmenu.with_item(label: I18n.t("meeting.types.classic"),tag: :a,href: dynamic_path- )+ ) do |item|+ item.with_description.with_content(t("meeting.types.classic_text"))+ endendendenddiff --git a/modules/meeting/config/locales/en.yml b/modules/meeting/config/locales/en.ymlindex 668663764c2..6c16dc89c19 100644--- a/modules/meeting/config/locales/en.yml+++ b/modules/meeting/config/locales/en.yml@@ -72,7 +72,7 @@ en:invalid_time_format: "is not a valid time. Required format: HH:MM"models:recurring_meeting: "Recurring meeting"- structured_meeting: "Meeting (dynamic)"+ structured_meeting: "One-time meeting"meeting_agenda_item: "Agenda item"meeting_agenda: "Agenda"meeting_minutes: "Minutes"@@ -111,7 +111,7 @@ en:label_meeting: "Meeting"label_meeting_plural: "Meetings"label_meeting_new: "New Meeting"- label_meeting_new_dynamic: "New dynamic meeting"+ label_meeting_new_dynamic: "New one-time meeting"label_meeting_new_recurring: "New recurring meeting"label_meeting_create: "Create meeting"label_meeting_copy: "Copy meeting"@@ -205,10 +205,11 @@ en:label_mail_all_participants: "Send email to all participants"types:classic: "Classic"- classic_text: "Organize your meeting in a formattable text agenda and protocol."- structured: "Dynamic"+ classic_text: "Organize your meeting as a single formattable text agenda and protocol."+ structured: "One-time"recurring: "Recurring"- structured_text: "Organize your meeting as a list of agenda items, optionally linking them to a work package."+ recurring_text: "Create meeting series with dynamic template for each occurrence."+ structured_text: "Organize your meeting as a dynamic list of agenda items, optionally linking them to a work package."structured_text_copy: "Copying a meeting will currently not copy the associated meeting agenda items, just the details"copied: "Copied from Meeting #%{id}"diff --git a/modules/meeting/spec/features/recurring_meetings/recurring_meeting_create_spec.rb b/modules/meeting/spec/features/recurring_meetings/recurring_meeting_create_spec.rbindex e790f6db6da..088f0603939 100644--- a/modules/meeting/spec/features/recurring_meetings/recurring_meeting_create_spec.rb+++ b/modules/meeting/spec/features/recurring_meetings/recurring_meeting_create_spec.rb@@ -69,7 +69,10 @@ RSpec.describe "Recurring meetings creation",meetings_page.visit!expect(page).to have_current_path(meetings_page.path)meetings_page.click_on "add-meeting-button"- meetings_page.click_on "Recurring"++ page.within("action-list") do+ meetings_page.click_on "Recurring"+ endwait_for_network_idlediff --git a/modules/meeting/spec/features/structured_meetings/structured_meeting_crud_spec.rb b/modules/meeting/spec/features/structured_meetings/structured_meeting_crud_spec.rbindex 9810d8af32e..01e87ed8e85 100644--- a/modules/meeting/spec/features/structured_meetings/structured_meeting_crud_spec.rb+++ b/modules/meeting/spec/features/structured_meetings/structured_meeting_crud_spec.rb@@ -72,7 +72,7 @@ RSpec.describe "Structured meetings CRUD",meetings_page.visit!expect(page).to have_current_path(meetings_page.path) # rubocop:disable RSpec/ExpectInHookmeetings_page.click_on "add-meeting-button"- meetings_page.click_on "Dynamic"+ meetings_page.click_on "One-time"meetings_page.set_title "Some title"meetings_page.set_start_date "2013-03-28"@@ -290,6 +290,7 @@ RSpec.describe "Structured meetings CRUD",click_on("Save")end+ wait_for_network_idleclick_on("op-meetings-header-action-trigger")retry_block dodiff --git a/modules/meeting/spec/support/pages/meetings/index.rb b/modules/meeting/spec/support/pages/meetings/index.rbindex 85eeb113f83..624ed36a332 100644--- a/modules/meeting/spec/support/pages/meetings/index.rb+++ b/modules/meeting/spec/support/pages/meetings/index.rb@@ -109,7 +109,7 @@ module Pages::Meetingsclick_on("add-meeting-button")expect(page).to have_link("Classic")- expect(page).to have_link("Dynamic")+ expect(page).to have_link("One-time")enddef expect_copy_action(meeting)