feat: Add information on subscribing to search

This commit is contained in:
2025-06-19 06:41:09 +02:00
parent 2e9039a569
commit 42dbf5c6f7

View File

@@ -6,13 +6,16 @@
{% block content %} {% block content %}
{% get_current_language as LANGUAGE_CODE_CURRENT %} {% get_current_language as LANGUAGE_CODE_CURRENT %}
<div class="columns"> <div class="columns">
<!--- Map -->
<div class="column is-two-thirds"> <div class="column is-two-thirds">
<div style="height: 75vh"> <div style="height: 75vh">
{% include "fellchensammlung/partials/bulma-partial-map.html" %} {% include "fellchensammlung/partials/bulma-partial-map.html" %}
</div> </div>
</div> </div>
<!--- Search Form -->
<div class="column"> <div class="column">
<form class="block" method="post" autocomplete="off"> <div class="block">
<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">
<input type="hidden" name="latitude" maxlength="200" id="latitude"> <input type="hidden" name="latitude" maxlength="200" id="latitude">
@@ -33,10 +36,11 @@
<button class="button" type="submit" name="subscribe_to_search"> <button class="button" type="submit" name="subscribe_to_search">
<i class="fas fa-bell"></i> {% trans 'Suche abonnieren' %} <i class="fas fa-bell"></i> {% trans 'Suche abonnieren' %}
</button> </button>
<div class="block">{% translate 'Wenn du die Suche abbonierst, wirst du für neue Vermittlungen, die den Kriterien entsprechen, benachrichtigt.' %}</div>
{% endif %} {% endif %}
{% endif %} {% endif %}
</form> </form>
<div class="block"> </div>
{% if place_not_found %} {% if place_not_found %}
<div class="block notification is-warning"> <div class="block notification is-warning">
<p> <p>
@@ -46,7 +50,6 @@
{% endif %} {% endif %}
</div> </div>
</div> </div>
</div>
<div class=""> <div class="">
{% include "fellchensammlung/lists/bulma-list-adoption-notices.html" %} {% include "fellchensammlung/lists/bulma-list-adoption-notices.html" %}
</div> </div>