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

Unified Diff: appengine/sheriff_o_matic/ui/ct-tree-status.html

Issue 1315693002: SoM: upgrade Polymer from 0.5 to 1.0 Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: get bower_components from polymer_1.0.4 Created 5 years, 4 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/sheriff_o_matic/ui/ct-tree-select.html ('k') | appengine/sheriff_o_matic/ui/ct-trooper-card.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/sheriff_o_matic/ui/ct-tree-status.html
diff --git a/appengine/sheriff_o_matic/ui/ct-tree-status.html b/appengine/sheriff_o_matic/ui/ct-tree-status.html
index 2d8cbab641c3ea6c434ad7eae4e3273100633a87..2e1b22802810bb544eaa10868cd37958c4a5cee2 100644
--- a/appengine/sheriff_o_matic/ui/ct-tree-status.html
+++ b/appengine/sheriff_o_matic/ui/ct-tree-status.html
@@ -2,13 +2,10 @@
Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
--->
+--><html><head><link rel="import" href="../model/tree-status.html">
-<link rel="import" href="../model/tree-status.html">
-
-<polymer-element name="ct-tree-status" noscript attributes="status">
- <template>
- <style>
+<dom-module id="ct-tree-status">
+ <style>
:host {
display: flex;
}
@@ -42,11 +39,18 @@ found in the LICENSE file.
white-space: nowrap;
}
</style>
- <template if="{{ status.message }}">
+ <template>
+ <template is="dom-if" if="{{ status.message }}">
<div class="status">
- <div class="message">{{ status.project }}: {{ status.message }}</div>
- <div style="padding: 0 0px;">[ <a href="{{ status.url }}">details</a> ]</div>
+ <div class="message"><span>{{ status.project }}</span>: <span>{{ status.message }}</span></div>
+ <div style="padding: 0 0px;">[ <a href$="{{ status.url }}">details</a> ]</div>
</div>
</template>
</template>
-</polymer-element>
+ <script>
+ Polymer({
+ is: 'ct-tree-status',
+ properties: { status: { notify: true } }
+ });
+ </script>
+</dom-module>
« no previous file with comments | « appengine/sheriff_o_matic/ui/ct-tree-select.html ('k') | appengine/sheriff_o_matic/ui/ct-trooper-card.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698