]> git.ipfire.org Git - ipfire.org.git/commitdiff
dbl: Link to reports in history
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 4 Mar 2026 13:17:10 +0000 (13:17 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 4 Mar 2026 13:17:10 +0000 (13:17 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/dbl/lists/domain.html

index 7677514f411b05385d06c2c1cc17fab88fda0a7a..42267f977ac981b0d29d7615380e025164c314c9 100644 (file)
 
                                                                        <small class="has-text-grey">
                                                                                {{ locale.format_date(event.timestamp, shorter=True) }}
+
+                                                                               {# Link the report #}
+                                                                               {% if event.report_id %}
+                                                                                       &bull;
+
+                                                                                       <a href="/dbl/reports/{{ event.report_id }}">
+                                                                                               {{ _("Report") }}
+                                                                                       </a>
+                                                                               {% end %}
                                                                        </small>
                                                                </td>
                                                        </tr>