Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2421)

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html

Issue 2850443004: Show "with <something>" for federated credentials in the MD settings. (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 68a56b842bb5a45e375fdaec4f287422c0577f2e..ac37e5665c70b7992f7a6f812f26dc60ae00c22d 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,16 +118,23 @@
</div>
<div class="username-column selectable text-elide"
id="username">[[item.loginPair.username]]</div>
- <div class="password-column">
- <!-- Password type and disabled in order to match mock. -->
- <input id="password" type="password" disabled
- value="[[getEmptyPassword_(item.numCharactersInPassword)]]">
- </input>
- <paper-icon-button id="passwordMenu" icon="cr:more-vert"
+ <div class="password-column text-elide">
+ <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>
+ </div>
+ <paper-icon-button id="passwordMenu" icon="cr:more-vert"
on-tap="onPasswordMenuTap_" title="$i18n{moreActions}"
tabindex$="[[tabIndex]]">
- </paper-icon-button>
- </div>
+ </paper-icon-button>
</div>
</template>
</iron-list>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698