diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/page.html | 3 | ||||
-rw-r--r-- | templates/tree.html | 12 |
2 files changed, 11 insertions, 4 deletions
diff --git a/templates/page.html b/templates/page.html index 404977b..fa1c07a 100644 --- a/templates/page.html +++ b/templates/page.html @@ -18,6 +18,7 @@ {% endmatch %} <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> <style> :root { @@ -190,7 +191,7 @@ ("{{ pr_title }}") {%- else -%} {%- endmatch -%} - {% if closed -%} + {% if closed %} (closed) {%- endif -%} </li> diff --git a/templates/tree.html b/templates/tree.html index caa9c3e..7760907 100644 --- a/templates/tree.html +++ b/templates/tree.html @@ -1,17 +1,23 @@ {# SPDX-License-Identifier: AGPL-3.0-or-later WITH GPL-3.0-linking-exception #} {#- SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is> -#} +{#- SPDX-FileCopyrightText: 2022 Arnout Engelen <arnout@bzzt.net> -#} <li> {% match accepted %} {%- when Some with (true) -%} <span class="state-accepted">✅</span> {%- when Some with (false) -%} - <span class="state-pending">⚪</span> + <span class="state-pending">⚪</span> {%- when None -%} - <span class="state-unknown">❓</span> + <span class="state-unknown">❓</span> {% endmatch %} - {{ branch_name }} + {% match hydra_link %} + {%- when Some with (link) -%} + <a href="{{ link }}">{{ branch_name }}</a> + {%- when None -%} + {{ branch_name }} + {% endmatch %} {% if !children.is_empty() %} <ul> |