put prefix in lots in result of search

This commit is contained in:
Cayo Puigdefabregas 2022-11-30 13:28:17 +01:00
parent 7be17ead58
commit e36f813d92
1 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
<div class="col-xl-12"> <div class="col-xl-12">
<div class="card"> <div class="card d-none">
<div class="tab-content pt-2"> <div class="tab-content pt-2">
<div class="flex mt-4 mb-4"> <div class="flex mt-4 mb-4">
<form method="get" class="ms-4"> <form method="get" class="ms-4">
@ -307,8 +307,8 @@
</a> </a>
{% if dev.lots | length > 0 %} {% if dev.lots | length > 0 %}
<h6 class="d-inline"> <h6 class="d-inline">
{% for lot in dev.lots %} {% for lot in dev.get_lots_for_template() %}
<span class="badge rounded-pill bg-light text-dark">{{ lot.name }}</span> <span class="badge rounded-pill bg-light text-dark">{{ lot }}</span>
{% endfor %} {% endfor %}
</h6> </h6>
{% endif %} {% endif %}