Fix notification list template

This commit is contained in:
Eli Ribble 2026-02-24 15:37:03 +00:00
parent dac52a879a
commit e513107f75
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -11,10 +11,10 @@
class="card-header bg-white d-flex justify-content-between align-items-center"
>
<h5 class="mb-0">Notifications</h5>
<span class="badge bg-primary">{{ len .Notifications }}</span>
<span class="badge bg-primary">{{ len .C.Notifications }}</span>
</div>
<div class="list-group list-group-flush">
{{ range .Notifications }}
{{ range .C.Notifications }}
<a
href="{{ .Link }}"
class="list-group-item list-group-item-action notification-item"

View file

@ -36,7 +36,7 @@
</tr>
</thead>
<tbody>
{{ range .Uploads }}
{{ range .C.Uploads }}
<tr class="clickable-row" data-upload-id="{{ .ID }}">
<td>{{ .Status }}</td>
<td>{{ .Created|timeRelative }}</td>