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-collapsible.html"> | 5 <link rel="import" href="../common/cr-collapsible.html"> |
6 <link rel="import" href="cr-issue-list.html"> | 6 <link rel="import" href="cr-issue-list.html"> |
7 | 7 |
8 <polymer-element name="cr-issue-inbox-section" attributes="issues weeks showRece
ntActivity"> | 8 <polymer-element name="cr-issue-inbox-section" attributes="issues weeks showRece
ntActivity"> |
9 <template> | 9 <template> |
10 <link rel="stylesheet" href="common.css"> | 10 <link rel="stylesheet" href="../common/common.css"> |
11 <style> | 11 <style> |
12 .cr-collapsible-header { | 12 .cr-collapsible-header { |
13 padding: 0.5em 16px; | 13 padding: 0.5em 16px; |
14 display: block; | 14 display: block; |
15 } | 15 } |
16 </style> | 16 </style> |
17 | 17 |
18 <cr-issue-list issues="{{ visibleIssues }}" showRecentActivity="{{ showR
ecentActivity }}" approvals></cr-issue-list> | 18 <cr-issue-list issues="{{ visibleIssues }}" showRecentActivity="{{ showR
ecentActivity }}" approvals></cr-issue-list> |
19 <template if="{{ hiddenIssues.length }}"> | 19 <template if="{{ hiddenIssues.length }}"> |
20 <cr-collapsible active="{{ showingHiddenIssues }}"> | 20 <cr-collapsible active="{{ showingHiddenIssues }}"> |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 }); | 67 }); |
68 }, | 68 }, |
69 pluralize: function(text, value) { | 69 pluralize: function(text, value) { |
70 if (value > 1) | 70 if (value > 1) |
71 return text.pluralize(); | 71 return text.pluralize(); |
72 return text; | 72 return text; |
73 }, | 73 }, |
74 }); | 74 }); |
75 </script> | 75 </script> |
76 </polymer-element> | 76 </polymer-element> |
OLD | NEW |