diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-06-06 12:28:39 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-06-18 11:10:52 +0200 |
commit | aea1ddebf83685e4c46b65edd877fec3bab62c4a (patch) | |
tree | bf6802e7fb8f0ecfd9c4a0db0ad1f5cbc97bb8ff /doc | |
parent | f5f390089d25573e27ffb0f8d4dce37bb731c1ee (diff) | |
download | justbuild-aea1ddebf83685e4c46b65edd877fec3bab62c4a.tar.gz |
Invocation server: directly show only artifact
When presenting a build, the output artifacts are hidden behind a
"details" environment to not overload the user with long list of,
e.g., test results (especially if generated by a test matrix). If,
however, only a single artifact is built, there is no reason to
hide it; so simply show it.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/invocations-http-server/templates/invocation.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/invocations-http-server/templates/invocation.html b/doc/invocations-http-server/templates/invocation.html index bd5915b1..2a5cc136 100644 --- a/doc/invocations-http-server/templates/invocation.html +++ b/doc/invocations-http-server/templates/invocation.html @@ -91,8 +91,13 @@ Invocation {{invocation | e}} {% endif %} {% if artifacts %} <li> + {% if artifacts_count == 1 %} + <details open> + <summary open>artifact</summary> + {% else %} <details> <summary>{{ artifacts_count | e }} artifacts</summary> + {% endif %} <ul> {% for entry in artifacts %} <li> |