{% extends "jury/base.html.twig" %} {% import "jury/jury_macros.twig" as macros %} {% block title %}Compiler and runner versions overview{% endblock %} {% block extrahead %} {{ parent() }} {{ macros.table_extrahead() }} {% endblock %} {% block content %}

Compiler and runner version overview

{% for lang in data %}
Language {{ lang.language.langid }} {% if is_granted('ROLE_ADMIN') %} {{ button(path('jury_language_edit', {'langId': lang.language.langid}), 'Edit version command(s)', 'primary btn-sm', 'edit') }} {% endif %}
Compiler version(s)
{% if lang.compiler_outputs | length > 1 %} {% endif %} {% for key, output in lang.compiler_outputs %}
{% if key == lang.canonical_compiler_key %} Canonical version {% else %} Not canonical {{ button(path('jury_compiler_promote', {'versionId': output.versionid}), 'Mark as canonical', 'primary btn-sm', 'bookmark') }} {% endif %}
  • $ {{ output.command }}
    {{ output.version }}
  • First reported by
      {% for host in output.hostdata %}
    • {{ host.hostname | printHost }}: {{ host.last_changed | printHumanTimeDiff }}
    • {% endfor %}
{% endfor %} {% if lang.runner_outputs | length > 0 %}
Runner version(s)
{% if lang.runner_outputs | length > 1 %} {% endif %} {% for key, output in lang.runner_outputs %}
{% if key == lang.canonical_runner_key %} Canonical version {% else %} Not canonical {{ button(path('jury_runner_promote', {'versionId': output.versionid}), 'Mark as canonical', 'primary btn-sm', 'bookmark') }} {% endif %}
  • $ {{ output.command }}
    {{ output.version }}
  • First reported by
      {% for host in output.hostdata %}
    • {{ host.hostname | printHost }}: {{ host.last_changed | printHumanTimeDiff }}
    • {% endfor %}
{% endfor %} {% endif %}
{% endfor %} {% endblock %}