summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2013-05-28 15:17:31 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2013-07-02 12:10:40 -0700
commitc8239501fcd8a0b37fe4153cacbdb5a19d608b94 (patch)
treea7c6c84f0e2554f0d4b2c0e880b26e56f2f8e525 /templates
parentf94f84b57d8265f5770c18ebbafa63ed0288c14e (diff)
summary.py: Do not generate comparison pages for single results
It is absolutely silly to generate pages for fixes, changes, and regressions when there is only one test result is provided. This still generates empty pages when two results are provided, because some developers have expressed a work flow that uses these empty pages. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/index.mako2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.mako b/templates/index.mako
index ea3ec7613..e959a27e2 100644
--- a/templates/index.mako
+++ b/templates/index.mako
@@ -16,7 +16,7 @@
% else:
<a href="index.html">all</a>
% endif
- % for i in ['changes', 'fixes', 'problems', 'regressions', 'skipped']:
+ % for i in pages:
% if i == page:
| ${i}
% else: