1. Benoît Allard
  2. buglink

Source

buglink / web / templates / modules.html

{% extends "list.html" %}

{% block description %}
<p>This is the list of <em>Modules</em> BugLink knows. A Module identify a possible outcome of a <a href="{{ url_for('views.listbuilds') }}">Build</a>, together, they form a <a href="{{ url_for('views.listbinaries') }}">Binary</a>. Modules are names for the artifacts that are delivered. While the artifact file name can be different on different platforms (<tt>libX.so</tt> vs. <tt>X.dll</tt> for instance), the module name remains the same.</p>
{% endblock %}

{% block items %}
{% for module in modules %}
  <li class="module">
    {{ module.name }}
    <ul class="nobulett">
      {% for binary in module.binaries %}
      <li {% if binary.build.changesets|count == 0 %}class="no-info"{% endif %}>
        {{ binary.build.number }}{{ ", " if not loop.last }}
      </li>
      {% endfor %}
    </ul>
  </li>
{% else %}
  <li> No Module in DB (yet)</li>
{% endfor %}
{% endblock %}