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

Unified Diff: appengine/swarming/elements/res/imp/botpage/bot-page.html

Issue 2361833002: Fix two glitches on bot-page (Closed) Base URL: git@github.com:luci/luci-py@master
Patch Set: Created 4 years, 3 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/botpage/bot-page.html
diff --git a/appengine/swarming/elements/res/imp/botpage/bot-page.html b/appengine/swarming/elements/res/imp/botpage/bot-page.html
index d964a229e649d6421f51b1282302e915c222a8d3..c22be1766b6c5f6f175c2a76c71282647783e86e 100644
--- a/appengine/swarming/elements/res/imp/botpage/bot-page.html
+++ b/appengine/swarming/elements/res/imp/botpage/bot-page.html
@@ -145,7 +145,7 @@
<template is="dom-if" if="[[_bot.quarantined]]">
<tr class="quarantined">
<td>Quarantined</td>
- <td colspan="2">[[_quarantineMessage(_bot)]]</td>
+ <td colspan="2" class="message">[[_quarantineMessage(_bot)]]</td>
</tr>
</template>
<tr>
@@ -420,7 +420,7 @@
// Sometimes, the quarantined message is actually in "error". This
// happens when the bot code has thrown an exception.
if (msg === undefined || msg === "true" || msg === true) {
- msg = this._attribute(bot, "error");
+ msg = bot.state && bot.state.error;
}
return msg || "True";
}
« no previous file with comments | « appengine/swarming/elements/build/elements.html ('k') | appengine/swarming/elements/res/imp/common/single-page-style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698