Skip to content

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

917 B
Raw Blame
<%=
  render(Primer::BaseComponent.new(tag: :div, classes: "op-enterprise-banner-container")) do
    grid_layout(
      "op-enterprise-banner",
      **@system_arguments
    ) do |grid|
      grid.with_area(:visual) do
        render(Primer::Beta::Octicon.new(icon: :"op-enterprise-addons", classes: "op-enterprise-banner--icon"))
      end

      grid.with_area(:content) do
        flex_layout do |flex|
          flex.with_row do
            render(Primer::Beta::Text.new(font_weight: :bold)) { title }
          end

          flex.with_row(classes: "op-enterprise-banner--description") do
            concat render(Primer::Beta::Text.new(tag: :p)) { description }
          end

          flex.with_row(mt: 1) do
            render EnterpriseEdition::UpsellButtonsComponent.new(
              :teaser,
              justify_content: :flex_start
            )
          end
        end
      end
    end
  end
%>