{% from "job-table.html" import job_table with context %} {% extends "layout.html" %} {% block title %}PR {{ number }}{% endblock %} {% block head %} {% endblock %} {% block content %}

{{ pr.title }} #{{ pr.number }}

{% if batch is defined %}
batch: {{ batch['id'] }}
artifacts: {{ artifacts_uri }} open_in_new
cost: {{ batch['cost'] }}
{% for name, value in batch['attributes'].items() %}
{{ name }}: {{ value }}
{% endfor %}
labels: {{ pr.labels|join(", ") }}

Jobs

{{ job_table(jobs, "jobs", "jobsSearchBar") }} {% elif exception is defined %}

Build error:

      {{ exception }}
    
{% else %} No build running. {% endif %}

Build History

{% if history %} {% for batch in history %} {% endfor %}
id state
{{ batch['id'] }} {% if 'state' in batch and batch['state'] %} {{ batch['state'] }} {% endif %}
{% else %} No builds. {% endif %} {% endblock %}