OLD | NEW |
1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
4 | 4 |
5 <link rel="import" href="cr-view-handler.html"> | 5 <link rel="import" href="../common/cr-view-handler.html"> |
6 | 6 |
7 <polymer-element name="cr-issue-meta" attributes="issue"> | 7 <polymer-element name="cr-issue-meta" attributes="issue"> |
8 <template> | 8 <template> |
9 <cr-view-handler></cr-view-handler> | 9 <cr-view-handler></cr-view-handler> |
10 <link rel="stylesheet" href="common.css"> | 10 <link rel="stylesheet" href="../common/common.css"> |
11 <style> | 11 <style> |
12 :host { | 12 :host { |
13 display: table; | 13 display: table; |
14 } | 14 } |
15 | 15 |
16 .issue-meta-item { | 16 .issue-meta-item { |
17 display: table-row; | 17 display: table-row; |
18 } | 18 } |
19 | 19 |
20 .issue-meta-type, | 20 .issue-meta-type, |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 }, | 112 }, |
113 formatDate: function(date) { | 113 formatDate: function(date) { |
114 return date.format("{Mon} {ord} {yyyy} {h}:{mm}{tt}"); | 114 return date.format("{Mon} {ord} {yyyy} {h}:{mm}{tt}"); |
115 }, | 115 }, |
116 contains: function(list, value) { | 116 contains: function(list, value) { |
117 return list && list.indexOf(value) != -1; | 117 return list && list.indexOf(value) != -1; |
118 }, | 118 }, |
119 }); | 119 }); |
120 </script> | 120 </script> |
121 </polymer-element> | 121 </polymer-element> |
OLD | NEW |