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

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

Issue 2453773003: Alerting the user when the provided date for credit card is passed, not save the card, and not clos… (Closed)
Patch Set: Make the UI look like mocks again. Created 4 years, 1 month 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/credit_card_edit_dialog.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html b/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
index a31c7968e4a27abcebd0e1d77aa8ec5afbd91fc6..5f22adea88129ecb2eb1735e3f8f202a06f478ac 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
@@ -16,6 +16,16 @@
-webkit-margin-start: 16px;
}
+ #expired {
+ align-items: center;
+ background-color: var(--paper-red-50);
+ color: var(--settings-error-color);
+ display: flex;
+ height: 40px;
+ margin-top: 12px;
+ padding: 0 0 0 8px;
+ }
+
#month {
width: 70px;
}
@@ -58,6 +68,9 @@
</select>
<span class="md-select-underline"></span>
</span>
+ <span id="expired" hidden="[[!checkIfCardExpired_(expirationMonth_, expirationYear_)]]">
+ $i18n{creditCardExpired}
+ </span>
</div>
<div class="button-container">
<paper-button id="cancelButton" class="cancel-button"

Powered by Google App Engine
This is Rietveld 408576698