diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-02-14 11:57:45 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-02-17 15:16:29 +0000 |
commit | 6f9ccf054b8af59243e50b24d2c8b36e22ab3ac4 (patch) | |
tree | 5955257a31295586dd2203137736693ae01068d9 /templates/tree.html | |
download | pr-tracker-6f9ccf054b8af59243e50b24d2c8b36e22ab3ac4.tar pr-tracker-6f9ccf054b8af59243e50b24d2c8b36e22ab3ac4.tar.gz pr-tracker-6f9ccf054b8af59243e50b24d2c8b36e22ab3ac4.tar.bz2 pr-tracker-6f9ccf054b8af59243e50b24d2c8b36e22ab3ac4.tar.lz pr-tracker-6f9ccf054b8af59243e50b24d2c8b36e22ab3ac4.tar.xz pr-tracker-6f9ccf054b8af59243e50b24d2c8b36e22ab3ac4.tar.zst pr-tracker-6f9ccf054b8af59243e50b24d2c8b36e22ab3ac4.zip |
Initial commit
Diffstat (limited to 'templates/tree.html')
-rw-r--r-- | templates/tree.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/tree.html b/templates/tree.html new file mode 100644 index 0000000..5a851a1 --- /dev/null +++ b/templates/tree.html @@ -0,0 +1,23 @@ +<!-- SPDX-License-Identifier: AGPL-3.0-or-later WITH GPL-3.0-linking-exception --> +<!-- SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is> --> + +<li> + {% match accepted %} + {% when Some with (true) %} + <span class="state-accepted">✅</span> + {% when Some with (false) %} + <span class="state-pending">⚪</span> + {% when None %} + <span class="state-unknown">❓</span> + {% endmatch %} + + {{ branch_name }} + + {% if !children.is_empty() %} + <ul> + {% for child in children %} + {{ child|safe }} + {% endfor %} + </ul> + {% endif %} +</li> |