Grey out untracked children

This commit is contained in:
Joscha 2023-08-06 00:52:30 +02:00
parent b83d908d4b
commit d031eee14e
6 changed files with 57 additions and 31 deletions

View file

@ -25,8 +25,13 @@
{% endfor %}
{% for commit in children %}
{% if commit.tracked %}
<dt>Child:</dt>
<dd><a href="{{ commit.hash }}">{{ commit.description }}</a></dd>
{% else %}
<dt class="untracked">Child:</dt>
<dd class="untracked"><a href="{{ commit.hash }}">{{ commit.description }}</a></dd>
{% endif %}
{% endfor %}
</dl>
<pre class="message">{{ message }}</pre>