Fix notification list template
This commit is contained in:
parent
dac52a879a
commit
e513107f75
2 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue