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

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

Issue 2106253002: [MD Settings] Show '(copied to Chrome)' on credit cards that are local. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
index 80f1693d7f8c4ba17407316cac5ab3176eab3854..730dd9e9a220f68f5fb5bdf73fd960a4fb5897fd 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
@@ -46,8 +46,7 @@
<div class="list-item two-line">
<div class="start">
<span id="addressSummary">[[address_(item)]]</span>
- <span class="payments-label"
- hidden$="[[item.metadata.isLocal]]">
+ <span class="payments-label" hidden$="[[item.metadata.isLocal]]">
$i18n{googlePayments}
</span>
</div>
@@ -80,9 +79,13 @@
<div class="list-item two-line">
<div class="type-column">
<span id="creditCardLabel">[[item.metadata.summaryLabel]]</span>
- <span class="payments-label"
- hidden$="[[item.metadata.isLocal]]">
- $i18n{googlePayments}
+ <span class="payments-label" hidden$="[[item.metadata.isLocal]]">
+ <span hidden$="[[item.metadata.isCached]]">
+ $i18n{googlePayments}
+ </span>
+ <span hidden$="[[!item.metadata.isCached]]">
+ $i18n{googlePaymentsCached}
+ </span>
</span>
</div>
<div class="expiration-column">

Powered by Google App Engine
This is Rietveld 408576698