[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 1/2] Link to the graphs instead of including them in deferred.html



---
 dak/show_deferred.py |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/dak/show_deferred.py b/dak/show_deferred.py
index afa12b4..dd1a748 100755
--- a/dak/show_deferred.py
+++ b/dak/show_deferred.py
@@ -88,15 +88,8 @@ def header():
         """
 
 def footer():
-    res = """
-<p><img src="deferred-day.png" alt="deferred, last day"></p>
-<p><img src="deferred-week.png" alt="deferred, last week"></p>
-<p><img src="deferred-month.png" alt="deferred, last month"></p>
-<p><img src="deferred-year.png" alt="deferred, last year"></p>
-<p><img src="deferred-5years.png" alt="deferred, last 5 years"></p>
-<p><img src="deferred-10years.png" alt="deferred, last 10 years"></p>
-"""
-    res += "<p class=\"validate\">Timestamp: %s (UTC)</p>" % (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime()))
+    res = "<p class=\"validate\">Timestamp: %s (UTC)</p>" % (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime()))
+    res += "<p class=\"timestamp\">There are <a href=\"/stat.html\">graphs about the queues</a> available.</p>"
     res += """<a href="http://validator.w3.org/check?uri=referer";>
     <img border="0" src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!" height="31" width="88"></a>
         <a href="http://jigsaw.w3.org/css-validator/check/referer";>
-- 
1.7.2.3



Reply to: