Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ See COPYRIGHT and LICENSE files for more details.
)
) %>

<% if EnterpriseToken.allows_to?(:multiple_active_sprints) %>
<% with_enterprise_banner_guard(
:multiple_active_sprints,
variant: :large,
image: "enterprise/multiple-active-sprints-light.png",
dark_image: "enterprise/multiple-active-sprints-dark.png"
) do %>
<div class="op-admin-settings-form-wrapper">
<%=
render(Primer::Beta::Text.new(tag: :div, color: :muted, mb: 3)) do
Expand All @@ -44,7 +49,5 @@ See COPYRIGHT and LICENSE files for more details.
%>
<%= render(Projects::Settings::Backlogs::MultipleActiveSprintsComponent.new(project: @project)) %>
</div>
<% else %>
<%= render(EnterpriseEdition::BannerComponent.new(:multiple_active_sprints, variant: :inline)) %>
<% end %>
<% end %>
4 changes: 2 additions & 2 deletions modules/backlogs/config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,11 @@ en:

ee:
features:
multiple_active_sprints: "Run multiple sprints in parallel for different teams in your project for more control and flexibility."
multiple_active_sprints: "Multiple active sprints"
sprint_sharing: "Sprint sharing"
upsell:
multiple_active_sprints:
description: " "
description: "Run multiple sprints in parallel for different teams in your project for more control and flexibility."
sprint_sharing:
description: "Share sprints across projects to align teams and coordinate work in scaled agile setups (SAFe)."

Expand Down
2 changes: 2 additions & 0 deletions modules/backlogs/lib/open_project/backlogs/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ def self.settings
before: :settings_storage
end

assets %w(enterprise/multiple-active-sprints-light.png enterprise/multiple-active-sprints-dark.png)

patches %i[PermittedParams
WorkPackage
Project]
Expand Down
Loading