Missing geometry html improvement
* improves rendering of missing geometry icons on table
This commit is contained in:
parent
e6c0d8b1cf
commit
a203d73471
@ -1,6 +1,11 @@
|
|||||||
{% load i18n fontawesome_5 %}
|
{% load i18n fontawesome_5 %}
|
||||||
|
|
||||||
{% if geometry.geom is not None %}
|
{% if geometry.geom is None or geometry.geom.empty %}
|
||||||
|
<span class="text-info" title="{% translate 'No geometry added, yet.' %}">
|
||||||
|
{% fa5_icon 'search-location' %}
|
||||||
|
{% fa5_icon 'question' %}
|
||||||
|
</span>
|
||||||
|
{% else %}
|
||||||
{% for entry in entries %}
|
{% for entry in entries %}
|
||||||
<span class="badge pill-badge rlp-r">{{entry}}</span>
|
<span class="badge pill-badge rlp-r">{{entry}}</span>
|
||||||
{% empty %}
|
{% empty %}
|
||||||
@ -8,9 +13,4 @@
|
|||||||
{% fa5_icon 'hourglass-half' %}
|
{% fa5_icon 'hourglass-half' %}
|
||||||
</span>
|
</span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
|
||||||
<span class="text-info" title="{% translate 'No geometry added, yet.' %}">
|
|
||||||
{% fa5_icon 'search-location' %}
|
|
||||||
{% fa5_icon 'question' %}
|
|
||||||
</span>
|
|
||||||
{% endif %}
|
{% endif %}
|
Loading…
Reference in New Issue
Block a user