From ba921a5474e30912ebfc0417e5336507f345ed16 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 6 May 2025 18:01:56 +0200 Subject: Invocation server: also mention the number of artifacts ... in the summary, so that the user knows what to expect when looking into the details-environment. --- doc/invocations-http-server/server.py | 1 + doc/invocations-http-server/templates/invocation.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/invocations-http-server') diff --git a/doc/invocations-http-server/server.py b/doc/invocations-http-server/server.py index 8c7e70ea..83df3fd1 100755 --- a/doc/invocations-http-server/server.py +++ b/doc/invocations-http-server/server.py @@ -250,6 +250,7 @@ class InvocationServer: "type": "tree" if v["file_type"] == "t" else "blob", }) params["artifacts"] = output_artifacts + params["artifacts_count"] = len(output_artifacts) def action_data(name, profile_value): data = { "name_prefix": "", diff --git a/doc/invocations-http-server/templates/invocation.html b/doc/invocations-http-server/templates/invocation.html index 8a59cbd7..73858979 100644 --- a/doc/invocations-http-server/templates/invocation.html +++ b/doc/invocations-http-server/templates/invocation.html @@ -99,7 +99,7 @@ Inocations {{invocation | e}} {% if artifacts %}
  • - artifacts + {{ artifacts_count | e }} artifacts
      {% for entry in artifacts %}
    • -- cgit v1.2.3