Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(870)

Unified Diff: build/android/pylib/results/presentation/template/table.html

Issue 2888723002: Make the table cells clickable, instead of the strings inside. (Closed)
Patch Set: address Yoland's comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/results/presentation/template/main.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/results/presentation/template/table.html
diff --git a/build/android/pylib/results/presentation/template/table.html b/build/android/pylib/results/presentation/template/table.html
index d2e5ee289d43af1f200a3a6ff228f1cc62c32f4e..cb4c4187ad59d861c557955dd60d43abd010f172 100644
--- a/build/android/pylib/results/presentation/template/table.html
+++ b/build/android/pylib/results/presentation/template/table.html
@@ -23,12 +23,12 @@
{% if cell.cell_type == 'pre' -%}
<pre>{{cell.data}}</pre>
{%- elif cell.cell_type == 'links' -%}
- {% for link in cell.links %}
+ {% for link in cell.links -%}
<a href="{{link.href}}" target="{{link.target}}">{{link.data}}</a>
{% if not loop.last -%}
<br />
{%- endif %}
- {% endfor %}
+ {%- endfor %}
{%- elif cell.cell_type == 'action' -%}
<a onclick="{{cell.action}}">{{cell.data}}</a>
{%- else -%}
@@ -45,9 +45,9 @@
{% for cell in tb_value.table_footer -%}
<td class="{{tb_value.table_id}}-summary-column-{{loop.index0}} {{cell.class}}">
{% if cell.cell_type == 'links' -%}
- {% for link in cell.links %}
+ {% for link in cell.links -%}
<a href="{{link.href}}" target="{{link.target}}"><b>{{link.data}}</b></a>
- {% endfor %}
+ {%- endfor %}
{%- elif cell.cell_type == 'action' -%}
<a onclick="{{cell.action}}">{{cell.data}}</a>
{%- else -%}
« no previous file with comments | « build/android/pylib/results/presentation/template/main.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698