diff options
author | Dan McGee <dan@archlinux.org> | 2013-05-11 00:52:36 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-05-11 00:52:40 +0200 |
commit | 4e872235010b1b7ad8cb6912b9e3ccf4c39a352d (patch) | |
tree | e757024835ba63477389857cf06fbd400aca4b89 /templates/mirrors/status.html | |
parent | ac1c00ee86cc0e355af5e4e6be47ca861091356b (diff) | |
download | archweb-4e872235010b1b7ad8cb6912b9e3ccf4c39a352d.tar.gz archweb-4e872235010b1b7ad8cb6912b9e3ccf4c39a352d.tar.xz |
Simplify with statements by using new syntax
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors/status.html')
-rw-r--r-- | templates/mirrors/status.html | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index 283ff68..a3da1ad 100644 --- a/templates/mirrors/status.html +++ b/templates/mirrors/status.html @@ -59,19 +59,15 @@ <a name="outofsync" id="outofsync"></a> <h3>Out of Sync Mirrors</h3> - {% with bad_urls as urls %} - {% with 'outofsync_mirrors' as table_id %} + {% with urls=bad_urls table_id='outofsync_mirrors' %} {% include "mirrors/status_table.html" %} {% endwith %} - {% endwith %} <a name="successful" id="successful"></a> <h3>Successfully Syncing Mirrors</h3> - {% with good_urls as urls %} - {% with 'successful_mirrors' as table_id %} + {% with urls=good_urls table_id='successful_mirrors' %} {% include "mirrors/status_table.html" %} {% endwith %} - {% endwith %} <a name="errorlog" id="errorlog"></a> <h3>Mirror Syncing Error Log</h3> |