From bdd379a5cdbe84fd176c545bf11a319324c5c193 Mon Sep 17 00:00:00 2001 From: Sascha Roloff Date: Thu, 15 May 2025 12:17:32 +0200 Subject: Invocation server: uncollapse first failed action --- doc/invocations-http-server/templates/invocation.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc/invocations-http-server') 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) %}
  • + {% if first %} +
    + {% else %}
    + {% endif %} {{ action["name_prefix"] | e }} {{ action["name"] | e}} {% if action["may_fail"] %} @@ -199,7 +203,7 @@ Inocations {{invocation | e}} {% if failed_actions %}
      {% for action in failed_actions %} - {{ show_action(action) }} + {{ show_action(action, loop.index == 1) }} {% endfor %}
    {% else %} -- cgit v1.2.3