{% match pr_number %}
{%- when Some with (pr_number) -%}
{% match pr_title %}
{%- when Some with (pr_title) -%}
Nixpkgs PR #{{ pr_number }} ("{{ pr_title }}") progress
{%- else -%}
Nixpkgs PR #{{ pr_number }} progress
{%- endmatch -%}
{%- else -%}
Nixpkgs PR progress tracker
{% endmatch %}
Nixpkgs Pull Request Tracker
{% match error %}
{% when Some with (error) %}
{% else %}
{% endmatch %}
{% match pr_number %}
{%- when Some with (pr_number) -%}
-
{%- if closed -%}
❌
{%- else -%}
✅
{%- endif -%}
PR #{{ pr_number }}
{% match pr_title %}
{%- when Some with (pr_title) -%}
("{{ pr_title }}")
{%- else -%}
{%- endmatch -%}
{% if closed -%}
(closed)
{%- endif -%}
{% match tree %}
{%- when Some with (tree) -%}
{{- tree|safe -}}
{%- else -%}
{%- endmatch -%}
{%- else -%}
{% endmatch %}