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
Fix interpolations
Klaus Zandersaa168597231f
diff --git a/app/components/shares/invite_user_form_component.html.erb b/app/components/shares/invite_user_form_component.html.erbindex 917b9c8ce54..5900c1a2ef4 100644--- a/app/components/shares/invite_user_form_component.html.erb+++ b/app/components/shares/invite_user_form_component.html.erb@@ -96,7 +96,7 @@endendelse- render(Primer::Alpha::Banner.new(icon: :info)) { I18n.t('sharing.denied', entity: @entity.model_name.human(count: 2)) }+ render(Primer::Alpha::Banner.new(icon: :info)) { I18n.t('sharing.denied', entities: @entity.model_name.human(count: 2)) }endend%>diff --git a/spec/support/components/work_packages/share_modal.rb b/spec/support/components/work_packages/share_modal.rbindex f67d395db94..ef9b4f67fdb 100644--- a/spec/support/components/work_packages/share_modal.rb+++ b/spec/support/components/work_packages/share_modal.rb@@ -190,7 +190,7 @@ module Componentsdef expect_blankslatewithin_modal do- expect(page).to have_text(I18n.t("sharing.text_empty_state_description"))+ expect(page).to have_text(I18n.t("sharing.text_empty_state_description", entity: WorkPackage.model_name.human))endend@@ -324,7 +324,7 @@ module Componentsdef expect_no_invite_optionwithin_modal doexpect(page)- .to have_text(I18n.t("work_package.permissions.denied"))+ .to have_text(I18n.t("sharing.denied", entities: WorkPackage.model_name.human(count: 2)))endend