| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h
tml"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h
tml"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 4 <link rel="import" href="chrome://resources/html/polymer.html"> | 4 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout-classes.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout-classes.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 7 <link rel="import" href="../route.html"> | 7 <link rel="import" href="../route.html"> |
| 8 <link rel="import" href="../settings_shared_css.html"> | 8 <link rel="import" href="../settings_shared_css.html"> |
| 9 | 9 |
| 10 <dom-module id="settings-user-list"> | 10 <dom-module id="settings-user-list"> |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 -webkit-padding-start: 20px; | 34 -webkit-padding-start: 20px; |
| 35 } | 35 } |
| 36 </style> | 36 </style> |
| 37 <div class="user-list" scrollable> | 37 <div class="user-list" scrollable> |
| 38 <template is="dom-repeat" items="[[users_]]"> | 38 <template is="dom-repeat" items="[[users_]]"> |
| 39 <div class="user layout horizontal center two-line"> | 39 <div class="user layout horizontal center two-line"> |
| 40 <img class="user-icon" src="[[getProfilePictureUrl_(item)]]"> | 40 <img class="user-icon" src="[[getProfilePictureUrl_(item)]]"> |
| 41 <div class="flex user-info"> | 41 <div class="flex user-info"> |
| 42 <div>[[getUserName_(item)]]</div> | 42 <div>[[getUserName_(item)]]</div> |
| 43 <template is="dom-if" if="[[shouldShowEmail_(item)]]"> | 43 <template is="dom-if" if="[[shouldShowEmail_(item)]]"> |
| 44 <div class="secondary">[[item.email]]</div> | 44 <div class="secondary">[[item.displayEmail]]</div> |
| 45 </template> | 45 </template> |
| 46 </div> | 46 </div> |
| 47 <paper-icon-button icon="cr:clear" class="clear-icon" | 47 <paper-icon-button icon="cr:clear" class="clear-icon" |
| 48 on-tap="removeUser_" | 48 on-tap="removeUser_" |
| 49 hidden="[[shouldHideCloseButton_(disabled, item.isOwner)]]"> | 49 hidden="[[shouldHideCloseButton_(disabled, item.isOwner)]]"> |
| 50 </paper-icon-button> | 50 </paper-icon-button> |
| 51 </div> | 51 </div> |
| 52 </template> | 52 </template> |
| 53 </div> | 53 </div> |
| 54 </template> | 54 </template> |
| 55 <script src="user_list.js"></script> | 55 <script src="user_list.js"></script> |
| 56 </dom-module> | 56 </dom-module> |
| OLD | NEW |