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
Remove one-off meeting label
Oliver Güntherf6ea80273165
diff --git a/modules/meeting/app/components/meetings/index/dialog_component.rb b/modules/meeting/app/components/meetings/index/dialog_component.rbindex 1b8edb02810..ad90c65469d 100644--- a/modules/meeting/app/components/meetings/index/dialog_component.rb+++ b/modules/meeting/app/components/meetings/index/dialog_component.rb@@ -52,7 +52,7 @@ module Meetingsenddef title- @type == :new ? I18n.t("label_meeting_new_one_time") : "Copy meeting"+ @type == :new ? I18n.t("label_meeting_new_dynamic") : "Copy meeting"endendenddiff --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 30d5ea1f23e..dc6622c3c42 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@@ -23,16 +23,16 @@I18n.t(:label_meeting)end- menu.with_item(label: I18n.t("meeting.types.classic"),- tag: :a,- href: dynamic_path- )-menu.with_item(label: I18n.t("meeting.types.structured"),tag: :a,href: new_dialog_meetings_path(project_id: @project&.id),content_arguments: { data: { controller: "async-dialog" }})++ menu.with_item(label: I18n.t("meeting.types.classic"),+ tag: :a,+ href: dynamic_path+ )endendenddiff --git a/modules/meeting/config/locales/en.yml b/modules/meeting/config/locales/en.ymlindex 797124c433f..c5c7f6beee9 100644--- a/modules/meeting/config/locales/en.yml+++ b/modules/meeting/config/locales/en.yml@@ -104,7 +104,7 @@ en:label_meeting: "Meeting"label_meeting_plural: "Meetings"label_meeting_new: "New Meeting"- label_meeting_new_one_time: "New one-time meeting"+ label_meeting_new_dynamic: "New dynamic meeting"label_meeting_create: "Create meeting"label_meeting_copy: "Copy meeting"label_meeting_edit: "Edit Meeting"@@ -164,7 +164,7 @@ en:types:classic: "Classic"classic_text: "Organize your meeting in a formattable text agenda and protocol."- structured: "One-time"+ structured: "Dynamic"structured_text: "Organize your meeting as a 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/structured_meetings/structured_meeting_crud_spec.rb b/modules/meeting/spec/features/structured_meetings/structured_meeting_crud_spec.rbindex 523df573755..fb52588d6d3 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 "One-time"+ meetings_page.click_on "Dynamic"meetings_page.set_title "Some title"meetings_page.set_start_date "2013-03-28"diff --git a/modules/meeting/spec/support/pages/meetings/index.rb b/modules/meeting/spec/support/pages/meetings/index.rbindex f60665f6dc4..e8633c58389 100644--- a/modules/meeting/spec/support/pages/meetings/index.rb+++ b/modules/meeting/spec/support/pages/meetings/index.rb@@ -100,7 +100,7 @@ module Pages::Meetingsclick_on("add-meeting-button")expect(page).to have_link("Classic")- expect(page).to have_link("One-time")+ expect(page).to have_link("Dynamic")enddef expect_copy_action(meeting)