mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-20 17:19:34 +00:00
Highlight a row, if the part is already existing
This commit is contained in:
parent
a72231ab04
commit
033f7b3116
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@
|
|||
{# @var App\Entity\Parts\Part localPart #}
|
||||
{% set localPart = result["localPart"] %}
|
||||
|
||||
<tr >
|
||||
<tr {% if localPart is not null %}class="table-warning"{% endif %}>
|
||||
<td>
|
||||
<img src="{{ dto.preview_image_url }}" data-thumbnail="{{ dto.preview_image_url }}"
|
||||
class="hoverpic" style="max-width: 45px;" {{ stimulus_controller('elements/hoverpic') }}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue