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

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

Issue 2815073003: Reland of Add back buttons and load new 'pages' by calling javascript. (Closed)
Patch Set: Created 3 years, 8 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
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 3ed498e678f3f801e1a431ff6d7873b4f03e9227..5c2a2666d60c8f19fe9124c2b3e3ac62c4019424 100644
--- a/build/android/pylib/results/presentation/template/table.html
+++ b/build/android/pylib/results/presentation/template/table.html
@@ -26,6 +26,8 @@
{% for link in cell.links %}
<a href="{{link.href}}" target="{{link.target}}">{{link.data}}</a>
{% endfor %}
+ {%- elif cell.cell_type == 'action' -%}
+ <a onclick="{{cell.action}}">{{cell.data}}</a>
{%- else -%}
{{cell.data}}
{%- endif %}
@@ -43,6 +45,8 @@
{% for link in cell.links %}
<a href="{{link.href}}" target="{{link.target}}"><b>{{link.data}}</b></a>
{% endfor %}
+ {%- elif cell.cell_type == 'action' -%}
+ <a onclick="{{cell.action}}">{{cell.data}}</a>
{%- else -%}
<b>{{cell.data}}</b>
{%- endif %}

Powered by Google App Engine
This is Rietveld 408576698