diff options
author | Struan Donald <struan@exo.org.uk> | 2012-12-21 15:18:19 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-12-21 15:18:19 +0000 |
commit | b5f78d9ad7d1ca38755a47893c2ca33afa1feb22 (patch) | |
tree | 17230160161512cf536784acfeac909d454e0cd8 | |
parent | 6d4d1a96b826be82bb8063de1eb1d0c9ba4f96ec (diff) |
display message if no results found
-rw-r--r-- | templates/web/seesomething/admin/stats.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/web/seesomething/admin/stats.html b/templates/web/seesomething/admin/stats.html index b82edcc62..90c2ad17c 100644 --- a/templates/web/seesomething/admin/stats.html +++ b/templates/web/seesomething/admin/stats.html @@ -32,6 +32,11 @@ <input type="submit" name="getcounts" size="30" id="getcounts" value="Look Up" /> </form> +[% IF pager.total_entries == 0 %] +<p align="center"> +No Results found +</p> +[% ELSE %] <table class="admin-report"> <thead> <tr> @@ -56,6 +61,7 @@ [%- END %] </tbody> </table> +[% END %] [% INCLUDE 'pagination.html', param = 'p' %] |