{% from "_helpers.html" import copr_url, build_state, initialize_datatables, serverside_pagination_warning %} {% from "_helpers.html" import pagination_form with context %} {% from "coprs/detail/_build_states.html" import build_states %} {% macro packages_table(packages, serverside_pagination=None) %} {% if not serverside_pagination %} {% else %} {{ serverside_pagination_warning() }} {% endif %} {% if packages %}
Name | Last Build Version | Last Build Submitted | Last Build Status | Automatic Build | Actions |
---|---|---|---|---|---|
{{ package.name }} | {{ pkg_version or '-' }} | {% if submitted_on %} {{ submitted_on | time_ago() }} ago {% else %} - {% endif %} | {% if package.latest_build %} {{ build_state(package.latest_build) }} {% else %} not built yet {% endif %} | {% if package.webhook_rebuild %} Enabled {% else %} Disabled {% endif %} | {% if g.user and g.user.can_build_in(copr) %} Rebuild {% else %} - {% endif %} |