Merge "Add the time at which this page was generated"

This commit is contained in:
Jenkins
2014-01-30 21:56:17 +00:00
committed by Gerrit Code Review
2 changed files with 6 additions and 1 deletions

View File

@@ -16,6 +16,7 @@
import argparse
import collections
import datetime
import operator
import re
import time
@@ -148,7 +149,8 @@ def classifying_rate(fails, data, engine):
"uncounted": total - count,
"jobs": sort,
"total_job_failures": total_job_failures,
"urls": bad_job_urls
"urls": bad_job_urls,
"generated_at": datetime.datetime.utcnow().strftime("%Y-%m-%dT%H:%M")
}
return engine.render(tvars)

View File

@@ -20,6 +20,9 @@ Overall Categorization Rate: {{ rate['overall'] }}%
<p>
Total: {{ total }} - Found: {{ count }} = Unclassifed: {{ uncounted }}
</p>
<p>
Generated at: {{ generated_at }}%
</p>
{% for job in jobs %}
<a name="{{job[0]}}"></a>
<a href="#top"><i>back to top</i></a>