Chromium Code Reviews| Index: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html |
| diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html |
| index cc59729aabb25087246159900ac6deced0a455f6..79cb733f31dbac40d1ab3c75154be654f903bf30 100644 |
| --- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html |
| +++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html |
| @@ -118,10 +118,17 @@ |
| <div class="username-column selectable text-elide" |
| id="username">[[item.loginPair.username]]</div> |
| <div class="password-column"> |
|
hcarmona
2017/04/20 19:13:40
Adding text-elide to the password-column makes tex
vasilii
2017/04/21 11:41:13
Done.
|
| - <!-- Password type and disabled in order to match mock. --> |
| - <input id="password" type="password" disabled |
| - value="[[getEmptyPassword_(item.numCharactersInPassword)]]"> |
| - </input> |
| + <template is="dom-if" if="[[!item.federationText]]"> |
| + <!-- Password type and disabled in order to match mock. --> |
| + <input id="password" type="password" disabled |
| + value="[[getEmptyPassword_(item.numCharactersInPassword)]]"> |
| + </input> |
| + </template> |
| + <template is="dom-if" if="{{item.federationText}}"> |
| + <span class="selectable text-elide"> |
| + {{item.federationText}} |
| + </span> |
| + </template> |
| <paper-icon-button id="passwordMenu" icon="cr:more-vert" |
| on-tap="onPasswordMenuTap_" title="$i18n{moreActions}" |
| tabindex$="[[tabIndex]]"> |