From b2fe9efb0dfc255c3a2f77173d751831de9f96de Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 30 Jan 2014 21:50:08 +0100 Subject: Updated /search template. --- pyaggr3g470r/templates/search.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pyaggr3g470r/templates/search.html') diff --git a/pyaggr3g470r/templates/search.html b/pyaggr3g470r/templates/search.html index 8ae38811..2a203e11 100644 --- a/pyaggr3g470r/templates/search.html +++ b/pyaggr3g470r/templates/search.html @@ -2,9 +2,13 @@ {% block content %}
{% if feeds|count == 0 %} -

No results.

+ {% else %} -

{{ nb_articles }} {% if nb_articles !=1 %} results {% else %} result {% endif %} for {{ query }}

+ {% for feed in feeds|sort(attribute="title") %}
-- cgit