{# Copyright (c) 2021 Julien Floret #} {# Copyright (c) 2021 Robin Jarry #} {# SPDX-License-Identifier: BSD-3-Clause #} {% extends "base.html" %} {% block breadcrumbs %} {{breadcrumbs(['branches', branch.name])}} {% endblock %} {% block page_content %} {% set tags = branch.tags|sort(attribute='timestamp')|list %} {% set width = tags|map(attribute='name')|map('length')|max|default(80) %} {% set width = [width, 10]|max %}
{% if tags %}
latest
{% endif %} {% if tags|selectattr("released")|list %}
stable
{% endif %} {% for tag in tags %}
{{tag.name}}
{% else %}
No tags for branch {{branch.name}}.
{% endfor %}
{% endblock %}