From d42cd9185a9f2c225b1bd951d124734b5e1e5410 Mon Sep 17 00:00:00 2001
From: Joe Gordon
Date: Tue, 15 Jul 2014 11:04:09 +0200
Subject: [PATCH] Make elastic-recheck web page mention 10 days not 14
In I4e47ece38e68d4ee19ee61b9a107bba9f12abf8c we began the process to
make elastic-recheck reflect the fact that our Elastic Search index is
only now 10 days. This patch finishes up those changes.
Change-Id: I6df756f7c1a90b059487c7504443a70b7d3b7f35
---
web/share/elastic-recheck.js | 2 +-
web/share/templates/uncategorized.html | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/web/share/elastic-recheck.js b/web/share/elastic-recheck.js
index 52bf4c6b..053923ee 100644
--- a/web/share/elastic-recheck.js
+++ b/web/share/elastic-recheck.js
@@ -43,7 +43,7 @@ function update() {
div.appendTo($('#main-container'));
$('', {text: 'Bug ' + bug['number'] + " - " + bug['bug_data']['name']}).appendTo(div);
$('', {
- text: bug['fails24'] + ' fails in 24hrs / ' + bug['fails'] + ' fails in 14 days'
+ text: bug['fails24'] + ' fails in 24hrs / ' + bug['fails'] + ' fails in 10 days'
}).appendTo(div);
$('', {
text: 'Projects: ' + bug['bug_data']['affects']
diff --git a/web/share/templates/uncategorized.html b/web/share/templates/uncategorized.html
index a4b57bf8..82f1478a 100644
--- a/web/share/templates/uncategorized.html
+++ b/web/share/templates/uncategorized.html
@@ -39,11 +39,11 @@
$("#2days").click(function(e) {
filter_log_age(e, 2);
});
- $("#1week").click(function(e) {
+ $("#7days").click(function(e) {
filter_log_age(e, 7);
});
- $("#2weeks").click(function(e) {
- filter_log_age(e, 14);
+ $("#10days").click(function(e) {
+ filter_log_age(e, 10);
});
});
@@ -72,8 +72,8 @@ Overall Categorization Rate: {{ rate['overall'] }}%
Generated at: {{ generated_at }}
(View: 24 hours,
2 days,
- 1 week,
- 2 weeks)
+ 7 days,
+ 10 days)
{% for job in jobs %}