{% from "coprs/detail/_builds_forms.html" import copr_build_cancel_form, copr_build_repeat_form, copr_build_delete_form %} {% from "coprs/detail/_build_states.html" import build_states %} {% from "_helpers.html" import build_href_from_sql, build_state, initialize_datatables, copr_url %} {% from "_helpers.html" import pagination_form with context %} {% macro builds_table(builds, print_possible_states=True, serverside_pagination=None) %} {% for build in builds %} {% if loop.first %} {% if not serverside_pagination %} {% endif %}
Build ID | Package Name | Package Version | Submitted | Build Time | Status | {% if copr and g.user and g.user.can_edit(copr) %} {% endif %}
---|---|---|---|---|---|
{{ build.id }} | {% if build.package_name %} {{ build.package_name }} {% else %} - {% endif %} | {% if build.pkg_version %} {{ build.pkg_version}} {% else %} - {% endif %} | {{ build.submitted_on|time_ago() }} ago | {{ build.started_on|time_ago(build.ended_on) }} | {{ build_state(build) }} | {% if copr and g.user and g.user.can_edit(copr) %} {% endif %}
No builds found
{% endif %} {% endfor %} {% endmacro %} {% macro no_builds_window() %}Click on the New Build button to submit your first build.
You can also set up automatic builds directly from your git. This can be done on the Packages view.
{% if g.user and g.user.can_build_in(copr) %} {% endif %} {% else %}