From e5919023cd199668a4e00e259dd82946011a045e Mon Sep 17 00:00:00 2001 From: Sasha Hart Date: Mon, 26 Sep 2016 11:34:58 -0500 Subject: [PATCH] humanize upload count shown at top of list --- .../templates/osgeo_importer/uploads-list.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/osgeo_importer/templates/osgeo_importer/uploads-list.html b/osgeo_importer/templates/osgeo_importer/uploads-list.html index be7326ed27a..058d3dfb668 100644 --- a/osgeo_importer/templates/osgeo_importer/uploads-list.html +++ b/osgeo_importer/templates/osgeo_importer/uploads-list.html @@ -21,7 +21,17 @@

{% trans "Manage Your Data" %}

{% verbatim %} -
Showing uploads {{ offset }}-{{ offset+uploads.length }} of {{ totalItems }}.
+
+ + There are currently no uploads in the database. + + + Showing 1 upload of {{ totalItems }}. + + + Showing uploads {{ offset ? offset : 1 }}-{{ offset+uploads.length }} of {{ totalItems }}. + +
{% endverbatim %}