From 6be5326f45c42f6ca906ecf6ef08fecac4ea9506 Mon Sep 17 00:00:00 2001 From: sharkykh Date: Mon, 15 May 2017 09:37:02 +0300 Subject: [PATCH] Reformat code some more --- nyaa/templates/view.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/nyaa/templates/view.html b/nyaa/templates/view.html index a77f7a2..969a95e 100644 --- a/nyaa/templates/view.html +++ b/nyaa/templates/view.html @@ -86,17 +86,17 @@ {%- for key, value in files.items() recursive %} - + {%- if value is iterable %} - - {{ key }} - {{ loop(value.items()) }} + + {{ key }} + {{ loop(value.items()) }} {%- else %} - - {{ key }} - {{ value | filesizeformat(True) }} + + {{ key }} + {{ value | filesizeformat(True) }} {%- endif %} - + {%- endfor %}