Index: lnt/trunk/lnt/server/ui/templates/local.html =================================================================== --- lnt/trunk/lnt/server/ui/templates/local.html +++ lnt/trunk/lnt/server/ui/templates/local.html @@ -7,6 +7,10 @@ {{ prefix }}{{order.llvm_project_revision}} {%- endmacro %} +{% macro render_compare_to_run(run, url) -%} +{{ run.start_time.isoformat() }} +{%- endmacro %} + {# Some example settings from llvm.org. #} {# Index: lnt/trunk/lnt/server/ui/templates/v4_run.html =================================================================== --- lnt/trunk/lnt/server/ui/templates/v4_run.html +++ lnt/trunk/lnt/server/ui/templates/v4_run.html @@ -1,4 +1,5 @@ {% import "utils.html" as utils %} +{% import "local.html" as local %} {% set hash_field = ts.Sample.get_hash_of_binary_field() %} {% set machine = run.machine %} @@ -114,7 +115,7 @@ {% for r in neighboring_runs %}
  • {{ ""|safe if r.id == run.id else "" }} - {{ r.start_time.isoformat() }} + {{ local.render_compare_to_run(r, v4_url_for('.v4_run', id=r.id)) }} {{ ""|safe if r.id == run.id else "" }}
  • {% endfor %} @@ -126,7 +127,7 @@ {% for r in comparison_neighboring_runs %}
  • {{ ""|safe if compare_to and r.id == compare_to.id else "" }} - {{ r.start_time.isoformat() }} + {{ local.render_compare_to_run(r, v4_url_for('.v4_run', id=run.id, compare_to=r.id)) }} {{ ""|safe if compare_to and r.id == compare_to.id else "" }}
  • {% endfor %}