Sha256: 66035d40abb90d5b5435218f7f4e12a0256326d1562b977f67bc4283040a5dda

Contents?: true

Size: 1.35 KB

Versions: 45

Compression:

Stored size: 1.35 KB

Contents

{% macro build_line(b, include_builder=False) %}
  <small>({{ b.time }})</small>
  Rev: {{ b.rev|shortrev(b.rev_repo) }}
  <span class="{{ b.class }}">{{ b.results }}</span>
  {% if include_builder %}
    <a href="{{ b.builderurl }}">{{ b.builder_name }}</a>
  {% endif %}
  <a href="{{ b.buildurl }}">#{{ b.buildnum }}</a> -
  {{ b.text|capitalize }}
{% endmacro %}

{% macro build_tr(b, include_builder=False, loop=None) %}
  <tr class="{{ loop.cycle('alt', '') if loop }}">
    <td>{{ b.time }}</td>
    <td>{{ b.rev|shortrev(b.rev_repo) }}</td>
    <td class="results {{ b.class }}">{{ b.results }}</td>
  {%- if include_builder %}
    <td><a href="{{ b.builderurl }}">{{ b.builder_name }}</a></td>
  {% endif %}
    <td><a href="{{ b.buildurl }}">#{{ b.buildnum }}</a></td>
    <td class="left">{{ b.text|capitalize }}</td>
  </tr>
{% endmacro %}

{% macro build_table(builds, include_builder=False) %}
{% if builds %}
<table class="zebra-striped Module buildtable">
  <thead>
    <tr>
      <th>Time</th>
      <th>Revision</th>
      <th>Result</th>
      {%- if include_builder %}
      <th>Builder</th>
      {% endif %}
      <th>Build #</th>
      <th>Info</th>
    </tr>
  </thead>

  <tbody>
    {% for b in builds %}
    {{ build_tr(b, include_builder, loop) }}
    {% endfor %}
  </tbody>
</table>
{% else %}
  No matching builds found
{% endif %}
{% endmacro %}

Version data entries

45 entries across 45 versions & 6 rubygems

Version Path
bmhatfield-vagrant-1.0.10 test/buildbot/master/templates/macros/build_line.html
bmhatfield-vagrant-1.0.9 test/buildbot/master/templates/macros/build_line.html
bmhatfield-vagrant-1.0.8 test/buildbot/master/templates/macros/build_line.html
bmhatfield-vagrant-1.0.7 test/buildbot/master/templates/macros/build_line.html
vagrantup-1.0.7 test/buildbot/master/templates/macros/build_line.html
vagrantup-1.0.6 test/buildbot/master/templates/macros/build_line.html
vagrantup-1.0.5 test/buildbot/master/templates/macros/build_line.html
vagrantup-1.0.4 test/buildbot/master/templates/macros/build_line.html
vagrantup-1.0.3 test/buildbot/master/templates/macros/build_line.html
vagrantup-1.0.2 test/buildbot/master/templates/macros/build_line.html
vagrantup-1.0.1 test/buildbot/master/templates/macros/build_line.html
vagrantup-1.0.0 test/buildbot/master/templates/macros/build_line.html
vagrantup-0.9.99.2 test/buildbot/master/templates/macros/build_line.html
vagrantup-0.9.99.1 test/buildbot/master/templates/macros/build_line.html
vagrantup-0.9.7 test/buildbot/master/templates/macros/build_line.html
vagrantup-0.9.6 test/buildbot/master/templates/macros/build_line.html
vagrantup-0.9.5 test/buildbot/master/templates/macros/build_line.html
vagrantup-0.9.4 test/buildbot/master/templates/macros/build_line.html
vagrantup-0.9.3 test/buildbot/master/templates/macros/build_line.html
vagrantup-0.9.2 test/buildbot/master/templates/macros/build_line.html