Skip to content

Commit 787bed4

Browse files
georges-armTamarChristinaArm
authored andcommitted
Fix graph URL in daily report.
Change-Id: I8ade8d0fa05a52b76fea551c6a4b6d2cf0e411d6
1 parent ac2a7fc commit 787bed4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ <h3>Result Table ({{ field.display_name }})</h3>
147147
<tr class="searchable">
148148
<td style="{{ styles.td }}">&nbsp;</td>
149149
<td class="machine-name" style="{{ styles.td }}"><a href="{{
150-
ts_url}}/graph?plot.0={{machine.id}}.{{test.id}}.{{
150+
ts_url}}/graph?plot={{machine.id}}.{{test.id}}.{{
151151
report.ts.get_field_index(field)}}&amp;highlight_run={{key_run.id}}">{{
152152
machine.name}}</a></td>
153153
{%- set first_result_shown = false -%}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,8 @@ <h3>Result Table ({{ field.display_name }})</h3>
319319
rt_detail_str += '<tr class="searchable">';
320320
rt_detail_str += ' <td style="{{ styles.td }}">&nbsp;</td>';
321321
rt_detail_str += ' <td class="machine-name" style="{{ styles.td }}">';
322-
// e.g. http://hw-a21-15.euhpc2.arm.com:8000/db_default/v4/netful:regression/graph?plot.0=29.348.0&highlight_run=8122
323-
rt_detail_str += ' <a href="{{ ts_url }}/graph?plot.0=' + machine.id + '.' + rt_test_id + '.' + field.index + '&highlight_run=' + today_key_run.id + '">' + machine.name + '</a>';
322+
// e.g. http://base_url/db_default/v4/db_name/graph?plot=29.348.0&highlight_run=8122
323+
rt_detail_str += ' <a href="{{ ts_url }}/graph?plot=' + machine.id + '.' + rt_test_id + '.' + field.index + '&highlight_run=' + today_key_run.id + '">' + machine.name + '</a>';
324324
rt_detail_str += ' </td>';
325325
var first = true;
326326
for (var i={{ report.num_prior_days_to_include }}-1; i>=0; i--) {

0 commit comments

Comments
 (0)