Files
openproject/app/components/projects/creation_wizard_status_component.html.erb
Oliver Günther 88c7c66fa4 Add PIR status
2025-11-26 13:09:00 +01:00

19 lines
711 B
Plaintext

<%= render(Primer::Beta::Text.new(tag: :p, font_weight: :bold)) { @status_text } %>
<% if @status_explanation %>
<%= render(Primer::Beta::Text.new(tag: :p)) { @status_explanation } %>
<% end %>
<% if artifact_work_package %>
<%= render(Primer::Beta::Button.new(
mt: 2,
tag: :a,
href: project_work_packages_path(project, artifact_work_package),
)) { t("settings.project_initiation_request.status.submitted_button")} %>
<% elsif artifact_id.blank? %>
<%= render(Primer::Beta::Button.new(
mt: 2,
tag: :a,
href: project_creation_wizard_path(project)
)) { t("settings.project_initiation_request.wizard_status_button.#{project.project_creation_wizard_artifact_name}")} %>
<% end %>