mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-22 18:19:34 +00:00
Restrict length of filename badge in attachment edit view
This commit is contained in:
parent
43613a63a3
commit
fdc6383b83
1 changed files with 2 additions and 2 deletions
|
|
@ -164,8 +164,8 @@
|
||||||
{% elseif attachment_manager.isInternalFileExisting(attach) %}
|
{% elseif attachment_manager.isInternalFileExisting(attach) %}
|
||||||
<br><br>
|
<br><br>
|
||||||
<h6>
|
<h6>
|
||||||
<span class="badge bg-primary">
|
<span class="badge bg-primary" title="{{ attach.filename }}">
|
||||||
<i class="fas fa-fw {{ ext_to_fa_icon(attach.extension) }}"></i> {{ attach.filename }}
|
<i class="fas fa-fw {{ ext_to_fa_icon(attach.extension) }}"></i> {{ attach.filename|u.truncate(25, ' ...') }}
|
||||||
</span>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
<span class="badge bg-secondary">
|
<span class="badge bg-secondary">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue