feat: Show which objects are not-geocoded
This commit is contained in:
@@ -22,10 +22,39 @@
|
||||
{% else %}
|
||||
<p>{% translate "Texte scheinen vollständig" %}</p>
|
||||
{% endif %}
|
||||
|
||||
<h2>{% translate "Nicht-lokalisierte Vermittlungen" %}</h2>
|
||||
<p>{{ number_not_geocoded_adoption_notices }}/{{ number_of_adoption_notices }}</p>
|
||||
{% if number_not_geocoded_adoption_notices > 0 %}
|
||||
<details>
|
||||
<summary>{{ number_not_geocoded_adoption_notices }}/{{ number_of_adoption_notices }}</summary>
|
||||
<ul>
|
||||
{% for adoption_notice in none_geocoded_adoption_notices %}
|
||||
<li>
|
||||
<a href="{{ adoption_notice.get_absolute_url }}">{{ adoption_notice.name }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</details>
|
||||
{% else %}
|
||||
<p>{{ number_not_geocoded_adoption_notices }}/{{ number_of_adoption_notices }}</p>
|
||||
{% endif %}
|
||||
|
||||
<h2>{% translate "Nicht-lokalisierte Tierschutzorganisationen" %}</h2>
|
||||
<p>{{ number_not_geocoded_rescue_orgs }}/{{ number_of_rescue_orgs }}</p>
|
||||
{% if number_not_geocoded_rescue_orgs > 0 %}
|
||||
<details>
|
||||
<summary>{{ number_not_geocoded_rescue_orgs }}/{{ number_of_rescue_orgs }}</summary>
|
||||
<ul>
|
||||
{% for rescue_org in none_geocoded_rescue_orgs %}
|
||||
<li>
|
||||
<a href="{{ rescue_org.get_absolute_url }}">{{ rescue_org.name }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</details>
|
||||
{% else %}
|
||||
<p>{{ number_not_geocoded_rescue_orgs }}/{{ number_of_rescue_orgs }}</p>
|
||||
{% endif %}
|
||||
|
||||
<form class="notification-card-mark-read" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="action" value="clean_locations">
|
||||
|
Reference in New Issue
Block a user