feat: Re-add warning if place not found

This commit is contained in:
moanos [he/him] 2025-01-09 23:35:07 +01:00
parent 0d82dba414
commit 8edfe8c401
2 changed files with 13 additions and 0 deletions

View File

@ -963,6 +963,14 @@ div.announcement {
border: rgba(17, 58, 224, 0.51) 4px solid; border: rgba(17, 58, 224, 0.51) 4px solid;
} }
.error {
color: #370707;
font-weight: bold;
}
.error::before {
content: "⚠️";
}
/*******/ /*******/
/* MAP */ /* MAP */

View File

@ -30,6 +30,11 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
</div> </div>
{% if place_not_found %}
<p class="error">
{% trans 'Ort nicht gefunden' %}
</p>
{% endif %}
</form> </form>
<div class="card half"> <div class="card half">
{% include "fellchensammlung/partials/partial-map.html" %} {% include "fellchensammlung/partials/partial-map.html" %}