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

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

Issue 2404883002: Add links to MP and resolve minor fixes (Closed)
Patch Set: Fix test 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
Index: appengine/swarming/elements/res/imp/taskpage/task-page.html
diff --git a/appengine/swarming/elements/res/imp/taskpage/task-page.html b/appengine/swarming/elements/res/imp/taskpage/task-page.html
index 697c045fea5f737ce1cf8324f191b872afaaf52c..90e34db97eb53c97927790fe2fd558acdff97a36 100644
--- a/appengine/swarming/elements/res/imp/taskpage/task-page.html
+++ b/appengine/swarming/elements/res/imp/taskpage/task-page.html
@@ -106,6 +106,7 @@
auth_headers="{{_auth_headers}}"
permissions="{{_permissions}}"
profile="{{_profile}}"
+ server_details="{{_server_details}}"
signed_in="{{_signed_in}}"
busy="[[_busy]]"
@@ -436,7 +437,7 @@
</div>
<template is="dom-if" if="[[_supportsMilo(_request,_show_raw)]]">
- <iframe id="miloFrame" class="milo tabbed" src$="[[_getMiloLink(milo_prefix,task_id)]]"></iframe>
+ <iframe id="miloFrame" class="milo tabbed" src$="[[_getMiloLink(_server_details.milo_prefix,task_id)]]"></iframe>
</template>
<template is="dom-if" if="[[_show_raw]]">
<div class="code stdout tabbed">[[_stdout]]</div>
@@ -478,10 +479,6 @@
client_id: {
type: String,
},
- milo_prefix: {
- type: String,
- },
-
_dialogPrompt: {
type: String,
@@ -500,6 +497,9 @@
_result: {
type: Object,
},
+ _server_details: {
+ type: Object,
+ },
_stdout: {
type: String,
}
@@ -665,7 +665,7 @@
this.$.data.reload();
var miloFrame = this.$$("iframe")
if (miloFrame) {
- miloFrame.src = this._getMiloLink(this.milo_prefix,this.task_id);
+ miloFrame.src = this._getMiloLink(this._server_details.milo_prefix,this.task_id);
}
},

Powered by Google App Engine
This is Rietveld 408576698