Skip to content

Commit 26e9323

Browse files
georges-armTamarChristinaArm
authored andcommitted
More plot.0= -> plot= fixups.
Change-Id: Id237f40009c03698a418b5ed16fffb012558a8bd
1 parent c434bf9 commit 26e9323

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lnt/server/ui/static/v4_global_status.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ v4_global_status = {};
8282
$('.normal-data-cell').click(function() {
8383
var test_id = this.getAttribute('test_id');
8484
var machine_id = this.getAttribute('machine_id');
85-
var plot_param = ('plot.0=' + machine_id + '.' +
85+
var plot_param = ('plot=' + machine_id + '.' +
8686
test_id + '.' + g.field.toString());
8787
window.location = UrlReplaceBasename(window.location.toString(),
8888
'graph?' + plot_param);

lnt/server/ui/templates/reporting/latest_runs_report.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h5 class="machine-name">{{machine.name}}</h5>
4242
{% for test, test_results in machine_results %}
4343
<tr class="searchable">
4444
<td class="test-name" style="{{ styles.td }}"><a href="{{
45-
ts_url}}/graph?plot.0={{machine.id}}.{{test.id}}.{{
45+
ts_url}}/graph?plot={{machine.id}}.{{test.id}}.{{
4646
report.ts.get_field_index(field)}}">{{test.name}}</a></td>
4747
{{ reportutils.get_initial_cell_value(test_results[-1], field, analysis, styles) }}
4848
{% for result in test_results[:-1]|reverse %}

lnt/server/ui/templates/reporting/runs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<tr>
4444
<td class="benchmark-name" style="{{ styles['td'] }}">
4545
{% if run.machine != compare_to.machine %}
46-
<a href="{{ run_url }}/graph?plot.0={{run.machine_id}}.{{test_id}}.{{field_index}}&plot.1={{compare_to.machine_id}}.{{test_id}}.{{field_index}}">{{ name }}</a>
46+
<a href="{{ run_url }}/graph?plot={{run.machine_id}}.{{test_id}}.{{field_index}}&plot={{compare_to.machine_id}}.{{test_id}}.{{field_index}}">{{ name }}</a>
4747
{% else %}
4848
<a href="{{ run_url }}/graph?{{ [('test.%d' % test_id, field_index)] | urlencode }}">{{ name }}</a>
4949
{% endif %}

0 commit comments

Comments
 (0)