From 969badc4a3c19d85dbc7cc830a61cc79569ee878 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 21 Jul 2012 18:57:59 -0400 Subject: [PATCH] Only display "bypass cache" option if the result was actually cached. --- pages/copyvios.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/copyvios.mako b/pages/copyvios.mako index bab670d..1e8da4f 100644 --- a/pages/copyvios.mako +++ b/pages/copyvios.mako @@ -366,7 +366,7 @@ % endif - % if query.get("nocache") or page: + % if query.get("nocache") or (result and result.cached): Bypass cache: % if query.get("nocache"):