| Index: appengine/sheriff_o_matic/ui/ct-step-failure-card.html
|
| diff --git a/appengine/sheriff_o_matic/ui/ct-step-failure-card.html b/appengine/sheriff_o_matic/ui/ct-step-failure-card.html
|
| index bcb108876c7a54cd9e95898367d298ffdd959684..9d7138a58fdbf2d9ce65dd889fd6c118bc702023 100644
|
| --- a/appengine/sheriff_o_matic/ui/ct-step-failure-card.html
|
| +++ b/appengine/sheriff_o_matic/ui/ct-step-failure-card.html
|
| @@ -2,15 +2,12 @@
|
| 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.
|
| --->
|
| -
|
| -<link rel="import" href="ct-builder-grid.html">
|
| +--><html><head><link rel="import" href="ct-builder-grid.html">
|
| <link rel="import" href="ct-commit-list.html">
|
| <link rel="import" href="ct-test-list.html">
|
|
|
| -<polymer-element name="ct-step-failure-card" attributes="group commitLog">
|
| - <template>
|
| - <style>
|
| +<dom-module id="ct-step-failure-card">
|
| + <style>
|
| :host {
|
| display: flex;
|
| }
|
| @@ -40,29 +37,35 @@ found in the LICENSE file.
|
| }
|
| }
|
| </style>
|
| + <template>
|
| <div>
|
| - <ct-builder-grid builderList="{{ group.builderList }}"></ct-builder-grid>
|
| + <ct-builder-grid builderlist="{{ group.builderList }}"></ct-builder-grid>
|
| <ct-test-list tests="{{ group.failures }}"></ct-test-list>
|
| </div>
|
| - <ct-commit-list commitList="{{ group.commitList }}" suspectedCLsByRepo="{{ group.suspectedCLsByRepo }}"></ct-commit-list>
|
| + <ct-commit-list commitlist="{{ group.commitList }}" suspectedclsbyrepo="{{ group.suspectedCLsByRepo }}"></ct-commit-list>
|
| </template>
|
| <script>
|
| Polymer({
|
| - group: null,
|
| - repositories: null,
|
| - _builderList: null,
|
| -
|
| - observe: {
|
| - group: '_updateCommitList',
|
| - repositories: '_updateCommitList',
|
| + is: 'ct-step-failure-card',
|
| + properties: {
|
| + _builderList: { value: null },
|
| + commitLog: { notify: true },
|
| + group: {
|
| + value: null,
|
| + notify: true,
|
| + observer: '_updateCommitList'
|
| + },
|
| + repositories: {
|
| + value: null,
|
| + observer: '_updateCommitList'
|
| + }
|
| },
|
| -
|
| - _updateCommitList: function() {
|
| + _updateCommitList: function () {
|
| if (this.group && this.group.commitList && this.repositories)
|
| this.group.commitList.update(this.repositories);
|
| - },
|
| + }
|
| });
|
| </script>
|
| -</polymer-element>
|
| +</dom-module>
|
|
|
|
|
|
|