@@ -41,7 +41,7 @@
- {% for i, build in enumerate(group) %}
+ {% for i, build in group | enumerate %}
{# Don't show more than limit builds #}
{% if limit and i >= limit %}
{% break %}
@@ -78,7 +78,7 @@
{% endfor %}
{# Show a button to see all builds in this group #}
- {% if limit and limit < len(group) %}
+ {% if limit and limit < group | count %}
{# XXX needs styling #}
{{Â _("Show all") }}