2021-02-17 18:58:18 +01:00
|
|
|
{# SPDX-License-Identifier: AGPL-3.0-or-later WITH GPL-3.0-linking-exception #}
|
|
|
|
{#- SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is> -#}
|
2022-02-02 18:18:08 +01:00
|
|
|
{#- SPDX-FileCopyrightText: 2022 Arnout Engelen <arnout@bzzt.net> -#}
|
2021-02-14 12:57:45 +01:00
|
|
|
|
|
|
|
<li>
|
|
|
|
{% match accepted %}
|
2021-02-17 18:58:18 +01:00
|
|
|
{%- when Some with (true) -%}
|
2021-02-14 12:57:45 +01:00
|
|
|
<span class="state-accepted">✅</span>
|
2021-02-17 18:58:18 +01:00
|
|
|
{%- when Some with (false) -%}
|
2022-02-02 18:18:08 +01:00
|
|
|
<span class="state-pending">⚪</span>
|
2021-02-17 18:58:18 +01:00
|
|
|
{%- when None -%}
|
2022-02-02 18:18:08 +01:00
|
|
|
<span class="state-unknown">❓</span>
|
2021-02-14 12:57:45 +01:00
|
|
|
{% endmatch %}
|
|
|
|
|
2022-02-02 18:18:08 +01:00
|
|
|
{% match hydra_link %}
|
|
|
|
{%- when Some with (link) -%}
|
|
|
|
<a href="{{ link }}">{{ branch_name }}</a>
|
|
|
|
{%- when None -%}
|
|
|
|
{{ branch_name }}
|
|
|
|
{% endmatch %}
|
2021-02-14 12:57:45 +01:00
|
|
|
|
|
|
|
{% if !children.is_empty() %}
|
|
|
|
<ul>
|
|
|
|
{% for child in children %}
|
|
|
|
{{ child|safe }}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|