diff options
author | Sascha Roloff <sascha.roloff@huawei.com> | 2025-05-15 12:17:32 +0200 |
---|---|---|
committer | Sascha Roloff <sascha.roloff@huawei.com> | 2025-05-15 14:32:54 +0200 |
commit | bdd379a5cdbe84fd176c545bf11a319324c5c193 (patch) | |
tree | e19c2604acedf690178aed7c0aafcaaa3f88ac46 /doc | |
parent | 36d4ee50c1285dfb7d12104bbd2a48b2cebcef45 (diff) | |
download | justbuild-bdd379a5cdbe84fd176c545bf11a319324c5c193.tar.gz |
Invocation server: uncollapse first failed action
Diffstat (limited to 'doc')
-rw-r--r-- | doc/invocations-http-server/templates/invocation.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/invocations-http-server/templates/invocation.html b/doc/invocations-http-server/templates/invocation.html index c698e7c1..12ff2736 100644 --- a/doc/invocations-http-server/templates/invocation.html +++ b/doc/invocations-http-server/templates/invocation.html @@ -3,9 +3,13 @@ Inocations {{invocation | e}} {% endblock %} -{% macro show_action(action) %} +{% macro show_action(action, first = false) %} <li> + {% if first %} + <details open> + {% else %} <details> + {% endif %} <summary> {{ action["name_prefix"] | e }} <tt>{{ action["name"] | e}}</tt> {% if action["may_fail"] %} @@ -199,7 +203,7 @@ Inocations {{invocation | e}} {% if failed_actions %} <ul> {% for action in failed_actions %} - {{ show_action(action) }} + {{ show_action(action, loop.index == 1) }} {% endfor %} </ul> {% else %} |