{% load debusine %} {% load users %}

Description

{% include description_template with data=description_data only %}

Input artifacts

{% if not input_artifacts_table %}

No input artifacts.

{% else %} {% widget input_artifacts_table %} {% endif %} {% if work_request.is_workflow or work_request.is_part_of_workflow %}

Workflow information

{% if perms.db.change_workrequest and work_request.can_be_unblocked and work_request.unblock_strategy == "manual" %}
Review blocked workflow step
{% if manual_unblock_log_entries %} {% include "web/_manual_unblock_log.html" with manual_unblock_log_entries=manual_unblock_log_entries only %} {% endif %}
{% csrf_token %} {{ manual_unblock_form.as_p }}
{% endif %} {% endif %} {% if work_request.requires_signature and user == work_request.created_by %}
Waiting for signature
Run debusine --server {{ DEBUSINE_FQDN }}/{{ scope }} provide-signature {{ work_request.id }} to sign this request.
{% csrf_token %} If you do not want to sign it, you can it instead.
{% endif %} {% if work_request.requires_confirmation and work_request_ui.can_confirm %}
Confirm
{% csrf_token %} {{ confirm_form.as_p }}
{% endif %} {% with confirmation=work_request.output_data.confirmation confirmed_by=work_request.completed_by|default:work_request.aborted_by %} {% if work_request.completed_at and confirmation %}

Confirmation

{% if confirmation.confirmed %}

Confirmed at {{ work_request.completed_at|date:"Y-m-d H:i" }} by {{ confirmed_by|user_link }}.

{% else %}

Denied at {{ work_request.completed_at|date:"Y-m-d H:i" }} by {{ confirmed_by|user_link }}. {% if work_request.task_data.deny_action == "fail" %} Failed the work request. {% elif work_request.task_data.deny_action == "abort" %} Aborted the work request. {% elif work_request.task_data.deny_action == "abort-workflow" %} Aborted the workflow. {% endif %}

{% endif %} {% if confirmation.comment %}

Comment left by {{ confirmed_by|user_link }}:

{{ confirmation.comment|linebreaks }} {% endif %}
{% endif %} {% endwith %} {% if validation_error %}

Validation error

{{ validation_error }}
{% endif %} {% if work_request.output_data.errors %}

Errors

{% endif %}