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
Meetings: Change delete to remove label
Oliver Günther7858ad44b444
diff --git a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.rb b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.rbindex cb3f6d9e45b..0c3affb47a7 100644--- a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.rb+++ b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.rb@@ -106,7 +106,8 @@ module MeetingAgendaItemsenddef delete_action_item(menu)- menu.with_item(label: t("text_destroy"),+ label = @meeting_agenda_item.work_package_id.present? ? t(:label_agenda_item_remove) : t(:text_destroy)+ menu.with_item(label:,scheme: :danger,href: meeting_agenda_item_path(@meeting_agenda_item.meeting, @meeting_agenda_item),form_arguments: {diff --git a/modules/meeting/config/locales/en.yml b/modules/meeting/config/locales/en.ymlindex 738269aecf3..0759612b219 100644--- a/modules/meeting/config/locales/en.yml+++ b/modules/meeting/config/locales/en.yml@@ -179,6 +179,7 @@ en:label_meeting_created_by: "Created by"label_meeting_last_updated: "Last updated"+ label_agenda_item_remove: "Remove from agenda"label_agenda_item_undisclosed_wp: "Work package #%{id} not visible"label_agenda_item_deleted_wp: "Deleted work package reference"label_agenda_item_actions: "Agenda items actions"