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
This commit is contained in:
Joe Gordon 2014-07-15 11:04:09 +02:00
parent bf03cbe95b
commit d42cd9185a
2 changed files with 6 additions and 6 deletions

View File

@ -43,7 +43,7 @@ function update() {
div.appendTo($('#main-container'));
$('<h2/>', {text: 'Bug ' + bug['number'] + " - " + bug['bug_data']['name']}).appendTo(div);
$('<h3/>', {
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);
$('<h3/>', {
text: 'Projects: ' + bug['bug_data']['affects']

View File

@ -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);
});
});
</script>
@ -72,8 +72,8 @@ Overall Categorization Rate: {{ rate['overall'] }}%
Generated at: <span id="generated-date">{{ generated_at }}</span>
(View: <a id="24hours" href="#">24 hours</a>,
<a id="2days" href="#">2 days</a>,
<a id="1week" href="#">1 week</a>,
<a id="2weeks" href="#">2 weeks</a>)
<a id="7days" href="#">7 days</a>,
<a id="10days" href="#">10 days</a>)
</p>
{% for job in jobs %}
<a name="{{job[0]}}"></a>