Source

buglink / web / templates / builds.html

Full commit
{% extends "list.html" %}

{% block description %}
<p>This is the list of <em>Builds</em> BugLink knows. Builds are what happen when repositories comes together in a specific state (changeset). Builds are identified with a number, the <em>buildnumber</em>.</p>
{% endblock %}

{% block items %}
{% for build in builds %}
  <li class="build">
    {{ build.number }}
    {% if build.binaries %}
    <div>
      Outcome:
      <ul>
        {% for binary in build.binaries %}
          <li>{{ binary.module.name }}</li>
        {% endfor %}
      </ul>
    </div>
    {% endif %}
    {% if build.changesets %}
    <div>
      From:
      <ul>
        {% for changeset in build.changesets %}
        <li>
          {{ macros.render_changeset(changeset)|safe }} (
          {{ macros.render_repository(changeset.repository)|safe }})
        </li>
        {% endfor %}
      </ul>
    </div>
    {% endif %}
  </li>
{% else %}
<li> No build in DB (yet)</li>
{% endfor %}
{% endblock %}