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

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

Issue 2509273004: Add command in to swarming UI (Closed)
Patch Set: 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 a9e715a36f5db1dd656482c4b872bab3aaf65e63..fe3866bda6d0fdff98c8fcfd5efa75d827e78877 100644
--- a/appengine/swarming/ui/res/imp/taskpage/task-page.html
+++ b/appengine/swarming/ui/res/imp/taskpage/task-page.html
@@ -308,6 +308,10 @@
<td class="code">[[_extraArgs(_request)]]</td>
</tr>
<tr>
+ <td>Command</td>
+ <td class="code">[[_command(_request)]]</td>
+ </tr>
+ <tr>
<td rowspan$="[[_rowspan(_request.tags)]]">Tags</td>
</tr>
<template is="dom-repeat" items="{{_request.tags}}" as="tag">
@@ -627,6 +631,14 @@
return packages;
},
+ _command: function(request) {
+ if (!request || !request.properties) {
+ return "";
+ }
+ var args = request.properties.command || [];
+ return args.join(" ");
+ },
+
_disambiguate: function(taskId, result) {
if (!taskId.endsWith("0") || !result) {
return false;
« 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