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

Unified Diff: appengine/swarming/ui/res/imp/taskpage/task-page.html

Issue 2471653004: Include expected outputs in Polymer UI (Closed)
Patch Set: Remove useless function (review for PS2) Created 4 years, 1 month 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 | « appengine/swarming/ui/build/elements.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/ui/res/imp/taskpage/task-page.html
diff --git a/appengine/swarming/ui/res/imp/taskpage/task-page.html b/appengine/swarming/ui/res/imp/taskpage/task-page.html
index a4ba9dc9826efcb0af63ffb5c9d5825e3916e85e..7ddc306d86b1284384f43502f5d1828822e442eb 100644
--- a/appengine/swarming/ui/res/imp/taskpage/task-page.html
+++ b/appengine/swarming/ui/res/imp/taskpage/task-page.html
@@ -252,6 +252,16 @@
</a>
</td>
</tr>
+ <template is="dom-if" if="[[_request.properties.outputs.length]]">
+ <tr>
+ <td rowspan$="[[_rowspan(_request.properties.outputs)]]">Expected outputs</td>
+ </tr>
+ <template is="dom-repeat" items="{{_request.properties.outputs}}" as="output">
+ <tr>
+ <td>[[output]]</td>
+ </tr>
+ </template>
+ </template>
<template is="dom-if" if="[[_not(_request_detail)]]">
<tr>
<td>More Details</td>
@@ -713,7 +723,7 @@
},
_empty: function(array) {
- return array.length == 0;
+ return !array || array.length == 0;
},
_supportsMilo: function(request, showRaw) {
@@ -761,4 +771,4 @@
});
})();
</script>
-</dom-module>
+</dom-module>
« no previous file with comments | « appengine/swarming/ui/build/elements.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698