about summary refs log tree commit diff
path: root/templates/tree.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tree.html')
-rw-r--r--templates/tree.html12
1 files changed, 9 insertions, 3 deletions
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>