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 %} |
|
the real yoland
2016/08/08 22:34:50
I like this better!
BigBossZhiling
2016/08/10 20:16:59
Done.
|
| <pre>{{cell.data}}</pre> |
| + {% elif cell.link %} |
| + <a onclick="window.open('{{cell.link}}');">{{cell.data}}</a> |
| {% else %} |
| {{cell.data}} |
| {% endif %} |