From 6d147ecd6a2f6209f3e97c3832752d5a549056be Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Fri, 5 Sep 2014 00:01:02 -0500 Subject: [PATCH] Improve structure of outputted source info. --- templates/index.mako | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/templates/index.mako b/templates/index.mako index 2cce0e6..e3b1b40 100644 --- a/templates/index.mako +++ b/templates/index.mako @@ -163,12 +163,25 @@ % endif + <% skips = False %> % if query.action == "search": - + + + + + + % for source in result.sources: + + + % if source.skipped: + <% skips = True %> + + % else: + + % endif + + % endfor + % endif