From 97b83a7d16a5459d90243d77c34d8cb8e1a0052d Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Mon, 20 Nov 2023 17:13:24 +0100 Subject: [PATCH] Pull show/hide buttons to the same line as the exception-text --- issues/templates/issues/issue_detail.html | 25 +++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/issues/templates/issues/issue_detail.html b/issues/templates/issues/issue_detail.html index e9c017c..16c1d7b 100644 --- a/issues/templates/issues/issue_detail.html +++ b/issues/templates/issues/issue_detail.html @@ -26,17 +26,26 @@
-
- - - -
- {#
Stacktrace:
I think this is obvious?#} {% for exception in exceptions %} {# option: make multi-exception stacktraces more clear
}#} -

{{ exception.type }}

{# potentially: hide this whole block if there is only a single exception #} -
{{ exception.value }}
+ +
+
+

{{ exception.type }}

{# potentially: hide this whole block if there is only a single exception #} +
{{ exception.value }}
+ +
+ {% if forloop.counter0 == 0 %} +
+
+ + + +
+
+ {% endif %} +
{% for frame in exception.stacktrace.frames %}