]> git.ipfire.org Git - ipfire.org.git/commitdiff
dbl: reports: Don't show the initial comment in the listing
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 Mar 2026 10:11:16 +0000 (10:11 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 Mar 2026 10:11:16 +0000 (10:11 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/dbl/modules/reports.html

index f1d960356381e62b848a0585dd144bfecba6a6a0..46d1c686a5a7d337d3ae8dc21791e9290e449ca7 100644 (file)
@@ -2,29 +2,18 @@
        <div class="block">
                <div class="card">
                        <div class="card-content">
-                               <div class="columns">
-                                       <div class="column">
-                                               <p class="title is-5">
-                                                       <a href="/dbl/reports/{{ report.id }}">
-                                                               {{ report }}
-                                                       </a>
-                                               </p>
+                               <p class="title is-5">
+                                       <a href="/dbl/reports/{{ report.id }}">
+                                               {{ report }}
+                                       </a>
+                               </p>
 
-                                               <p class="subtitle is-6">
-                                                       {{ _("Submitted %(when)s by %(who)s") % {
-                                                               "when" : locale.format_date(report.reported_at),
-                                                               "who"  : report.reported_by,
-                                                       } }}
-                                               </p>
-                                       </div>
-
-                                       {# Comment #}
-                                       {% if report.comment %}
-                                               <div class="column">
-                                                       <pre>{{ report.comment }}</pre>
-                                               </div>
-                                       {% end %}
-                               </div>
+                               <p class="subtitle is-6">
+                                       {{ _("Submitted %(when)s by %(who)s") % {
+                                               "when" : locale.format_date(report.reported_at),
+                                               "who"  : report.reported_by,
+                                       } }}
+                               </p>
                        </div>
                </div>
        </div>