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

787 B
Raw Blame
<%=
  component_wrapper do
    flex_layout(align_items: :center) do |flex|
      flex.with_column do
        render(
          OpPrimer::StatusButtonComponent.new(
            current_status: build_item(@status),
            items: build_items,
            readonly: !edit_enabled?,
            disabled: !edit_enabled?,
            button_arguments: {
              title: t("projects.status.button_edit"),
              size: @size
            }
          )
        )
      end

      unless hide_help_text?
        flex.with_column(mr: 2) do
          render(
            OpenProject::Common::AttributeLabelComponent.new(
              attribute: :status,
              model: project,
              current_user: user
            )
          )
        end
      end
    end
  end
%>