Skip to content

Commit

Permalink
Put the errors in their own column in attachments/list
Browse files Browse the repository at this point in the history
  • Loading branch information
melmothx committed Sep 26, 2023
1 parent ab7291c commit 3ec8cef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion root/src/attachments/list.tt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
<th>
[% loc('Thumbnail') %]
</th>
<th>
[% loc('Errors') %]
</th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -62,7 +65,8 @@
<i title="[% att.name | html %]" class="fa fa-file-o fa-4x fa-border attachment-without-thumb"></i>
[% END %]
</a>

</td>
<td>
[% IF att.errors %]
<div class="attachment-error text-danger">[% att.errors | html %]</div>
[% END %]
Expand Down

0 comments on commit 3ec8cef

Please sign in to comment.