diff options
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/sheet_geographic.html')
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/sheet_geographic.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/sheet_geographic.html b/ishtar_common/templates/ishtar/blocks/sheet_geographic.html index ae9d2bdf5..d5f8a4d84 100644 --- a/ishtar_common/templates/ishtar/blocks/sheet_geographic.html +++ b/ishtar_common/templates/ishtar/blocks/sheet_geographic.html @@ -36,6 +36,10 @@ {% endautoescape %} </td>{% endif %} </tr> +{% empty %} + <tr> + <td colspan="10">{% trans "No geo items" %}</td> + </tr> {% endfor %} </table> {% if not IS_HISTORY and permission_change_geo and output != "ODT" and output != "PDF" %} @@ -43,4 +47,4 @@ <a class="btn btn-success" href="{% url 'create-pre-geo' item.app_label item.model_name item.pk %}{% if search_url %}?back_url={{search_url}}%3Fopen_item={{geo_item.pk|unlocalize}}{% endif %}"><i class="fa fa-plus"></i> {% trans "geo item" %}</a> </div> {% endif %} -{% endwith %}
\ No newline at end of file +{% endwith %} |
