{% from "coprs/detail/_builds_forms.html" import copr_build_cancel_form, copr_build_repeat_form %} {% macro builds_table(builds) %} {% if builds %}
Id | Submitted on | Submitted by | Started on | Ended on | State |
---|---|---|---|---|---|
{{ build.id }} | {{ build.submitted_on|date_from_secs }} | {{ build.user.name }} | {{ build.started_on|date_from_secs or 'Not yet' }} | {{ build.ended_on|date_from_secs or 'Not yet' }} | {{ build.state }} |
{% if g.user and g.user == build.user %}
{{ copr_build_cancel_form(build) }}
{% endif %}
{% if g.user and g.user.can_build_in(copr) %}
{{ copr_build_repeat_form(build) }}
{% endif %}
{% if build.results %}
Results:{{ build.results }} {% else %}No results yet.{% endif %}Package URLs:{% if build.pkgs is not none %}{% for pkg in build.pkgs.split() %}{{ pkg }}
{% endfor %}{% endif %}
|