diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-11 22:12:24 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-11 22:12:24 +0100 |
commit | c2d70f1fd014cd626b3cff86ea008269c21b7e9e (patch) | |
tree | 109e0a513e409187584c85958dbf3dbc60083817 | |
parent | Updated header information in mongodb.py. Removed uselles import of itemgette... (diff) | |
download | newspipe-c2d70f1fd014cd626b3cff86ea008269c21b7e9e.tar.gz newspipe-c2d70f1fd014cd626b3cff86ea008269c21b7e9e.tar.bz2 newspipe-c2d70f1fd014cd626b3cff86ea008269c21b7e9e.zip |
Display the number of search results.
-rw-r--r-- | source/templates/search.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/templates/search.html b/source/templates/search.html index f2e846c0..da766ee9 100644 --- a/source/templates/search.html +++ b/source/templates/search.html @@ -5,7 +5,7 @@ import utils %> <div class="left inner"> %if len(search_result) != 0: - <h1>Articles containing the string <i>${query}</i></h1> + <h1>Articles containing the string <i>${query}</i> (${sum([articles.count() for articles in search_result.values()])} results)</h1> %else: <h1>String <i>${query}</i> not found.</h1> %endif |