feat: show number of results in search

This commit is contained in:
2025-06-20 09:06:19 +02:00
parent f9c7dd8c39
commit 3f5a5dceb5

View File

@@ -5,7 +5,7 @@
{% block content %} {% block content %}
{% get_current_language as LANGUAGE_CODE_CURRENT %} {% get_current_language as LANGUAGE_CODE_CURRENT %}
<div class="columns"> <div class="columns block">
<!--- Map --> <!--- Map -->
<div class="column is-two-thirds"> <div class="column is-two-thirds">
<div style="height: 75vh"> <div style="height: 75vh">
@@ -15,6 +15,9 @@
<!--- Search Form --> <!--- Search Form -->
<div class="column"> <div class="column">
<div class="block"> <div class="block">
<p>{% blocktranslate with number_of_adoption_notices=adoption_notices|length %}
{{ number_of_adoption_notices }}
Vermittlungen gefunden{% endblocktranslate %}
<form method="post" autocomplete="off"> <form method="post" autocomplete="off">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="longitude" maxlength="200" id="longitude"> <input type="hidden" name="longitude" maxlength="200" id="longitude">
@@ -58,7 +61,7 @@
{% endif %} {% endif %}
</div> </div>
</div> </div>
<div class=""> <div class="block">
{% include "fellchensammlung/lists/list-adoption-notices.html" %} {% include "fellchensammlung/lists/list-adoption-notices.html" %}
</div> </div>