[llvm-commits] [LNT] r166145 - /lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html

Daniel Dunbar daniel at zuster.org
Wed Oct 17 16:18:37 PDT 2012


Author: ddunbar
Date: Wed Oct 17 18:18:37 2012
New Revision: 166145

URL: http://llvm.org/viewvc/llvm-project?rev=166145&view=rev
Log:
dailyreport: Pass run to highlight in graph links.

Modified:
    lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html

Modified: lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html?rev=166145&r1=166144&r2=166145&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html (original)
+++ lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html Wed Oct 17 18:18:37 2012
@@ -76,11 +76,12 @@
     <td style="{{ styles.td }}" colspan="{{report.num_prior_days_to_include}}"> </td>
   </tr>
 {%   for machine,day_results in visible_results %}
-{%   set machine_loop = loop %}
+{%   set key_run = report.get_key_run(machine, 0) %}
   <tr>
     <td style="{{ styles.td }}"> </td>
     <td style="{{ styles.td }}"><a href="{{
-      ts_url}}/graph?plot.0={{machine.id}}.{{test.id}}.{{field.index}}">{{
+      ts_url}}/graph?plot.0={{machine.id}}.{{test.id}}.{{
+        field.index}}&highlight_run={{key_run.id}}">{{
           machine.name}}</a></td>
     <td style="{{ styles.td }}">{{ day_results[-1].current }}</td>
 {%     for day_result in day_results[:-1]|reverse %}





More information about the llvm-commits mailing list