| 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>
|
|
|