Chromium Code Reviews| Index: scripts/slave/recipe_modules/chromium_android/resources/template/table.html |
| diff --git a/scripts/slave/recipe_modules/chromium_android/resources/template/table.html b/scripts/slave/recipe_modules/chromium_android/resources/template/table.html |
| index 83d7779255f645b61cdab566823d936faf37bd04..bfd23195c800de8af195012922b907daafa1d8d8 100644 |
| --- a/scripts/slave/recipe_modules/chromium_android/resources/template/table.html |
| +++ b/scripts/slave/recipe_modules/chromium_android/resources/template/table.html |
| @@ -1,4 +1,4 @@ |
| -<table id="{{tb_value.table_id}}"> |
| +<table id="{{tb_value.table_id}}" class="{{tb_value.table_class}}"> |
| <thead class="heads"> |
| <tr> |
| {% for item in tb_value.table_headers %} |
| @@ -15,8 +15,10 @@ |
| <tr> |
| {% for cell in row %} |
| <td class="{{loop.index0}} {{cell.class}}"> |
| - {% if "is-pre" in cell.class %} |
| + {% if cell.is_pre %} |
| <pre>{{cell.data}}</pre> |
| + {% elif cell.link %} |
| + <a onclick="window.open('{{cell.link}}');">{{cell.data}}</a> |
|
the real yoland
2016/08/11 06:35:16
maybe just `<a href={{cell.link}}>`
BigBossZhiling
2016/08/11 06:49:45
href I think will replace the current page with th
the real yoland
2016/08/11 21:34:09
I see, you can use `<a href="abc.xyz" target="_bla
|
| {% else %} |
| {{cell.data}} |
| {% endif %} |