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

[dak/master] graphs are just one link to the stat.html



Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 dak/queue_report.py |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/dak/queue_report.py b/dak/queue_report.py
index 1f68891..98c80f0 100755
--- a/dak/queue_report.py
+++ b/dak/queue_report.py
@@ -222,6 +222,7 @@ def header():
 
 def footer():
     print "<p class=\"timestamp\">Timestamp: %s (UTC)</p>" % (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime()))
+    print "<p class=\"timestamp\">There are <a href=\"/stat.html\">graphs about the queues</a> available.</p>"
 
     print """
     <div class="footer">
@@ -654,17 +655,6 @@ def main():
         f.close()
 
     if Cnf.has_key("Queue-Report::Options::New"):
-        for dir in directories:
-            print """
-<p><img src="stat/%s-day.png" alt="%s, last day"></p>
-<p><img src="stat/%s-week.png" alt="%s, last week"></p>
-<p><img src="stat/%s-month.png" alt="%s, last month"></p>
-<p><img src="stat/%s-year.png" alt="%s, last year"></p>
-<p><img src="stat/%s-5years.png" alt="%s, last 5 years"></p>
-<p><img src="stat/%s-10years.png" alt="%s, last 10 years"></p>
-""" % ((dir,)*12)
-
-    if Cnf.has_key("Queue-Report::Options::New"):
         footer()
 
 ################################################################################
-- 
1.5.6.5


Reply to: