mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-15 07:51:31 +00:00
Restrict length of url and page titles in "Create part From URL" recent submissions list
This commit is contained in:
parent
dd53a9285d
commit
c8b2db8cd3
1 changed files with 2 additions and 2 deletions
|
|
@ -48,8 +48,8 @@
|
|||
<button type="submit" name="submitted_page_token" value="{{ page.token }}" formnovalidate
|
||||
class="list-group-item d-flex justify-content-between align-items-start text-start">
|
||||
<div class="ms-2 me-auto">
|
||||
<div class="fw-bold">{{ page.title }}</div>
|
||||
<small class="text-muted">{{ page.url }}</small>
|
||||
<div class="fw-bold">{{ page.title|u.truncate(160) }}</div>
|
||||
<small class="text-muted">{{ page.url|u.truncate(160) }}</small>
|
||||
</div>
|
||||
<span class="badge text-bg-primary rounded-pill">{{ page.submittedAt|format_time("short") }}</span>
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue