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

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

Issue 2459693002: swarming: display named caches in task UI (Closed)
Patch Set: Created 4 years, 2 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 | « 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 9bf9af3d8cb153588a64db0ac0bcdfa1b87a3ecc..a4ba9dc9826efcb0af63ffb5c9d5825e3916e85e 100644
--- a/appengine/swarming/ui/res/imp/taskpage/task-page.html
+++ b/appengine/swarming/ui/res/imp/taskpage/task-page.html
@@ -332,6 +332,16 @@
<td><b>Actual:</b>[[cipd.actual]]</td>
</tr>
</template>
+
+ <tr hidden$="[[_empty(_request.properties.caches)]]">
+ <td rowspan$="[[_rowspan(_request.properties.caches)]]">Named caches</td>
+ </tr>
+ <template is="dom-repeat" items="[[_request.properties.caches]]" as="cache">
+ <tr>
+ <td><span>[[cache.name]]</span>:<span>[[cache.path]]</span></td>
+ </tr>
+ </template>
+
</template>
</table>
@@ -702,6 +712,10 @@
return dims.length + 1;
},
+ _empty: function(array) {
+ return array.length == 0;
+ },
+
_supportsMilo: function(request, showRaw) {
return !showRaw && request && this._tag(request, "allow_milo");
},
« 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