{% macro category_title() -%} {% if categories %}
{% trans categories=categories %} Category:
{% pluralize categories %} Categories:
{% endtrans %} {% for c in categories %} {{ c|e }}
{% endfor %} {% endif %} {% if branch != ANYBRANCH %}
Branch: {{ branch|e or "trunk" }} {% endif %} {%- endmacro %} {% macro stamp_td(ss) -%} {%- if ss.revision -%} {{ ss.revision|shortrev(ss.repository) }} {%- else %}latest{% endif %} {%- if ss.branch %} in {{ ss.branch|e }}{% endif %} {%- if ss.hasPatch %} [patch]{% endif %} {%- endmacro %} {% macro builder_td(b) -%} {{ b.name }} {%- if b.state != 'idle' or b.n_pending > 0 -%}
({{ b.state }} {%- if b.n_pending > 0 -%} , plus {{ b.n_pending }} {%- endif -%} ) {%- endif -%} {%- endmacro %} {% macro build_td(build) -%} {% if build %} {{ build.text|join('
') }}
{% else %}   {% endif %} {%- endmacro %}