Add help button to saved cards list on account page

Describes the purpose of the default card
This commit is contained in:
Rob Harrington
2018-06-22 14:12:41 +10:00
parent 7db7084008
commit d1d9c5a092
2 changed files with 6 additions and 1 deletions

View File

@@ -2,7 +2,11 @@
.credit_cards{"ng-controller" => "CreditCardsCtrl"}
.row
.small-12.medium-6.columns
%h3= t(:saved_cards)
%h3
= t(:saved_cards)
%button.button.secondary.tiny.help-btn.ng-scope{ "help-modal" => t('.saved_cards_popover') }
%i.ofn-i_013-help
.saved_cards{ ng: { show: 'savedCreditCards.length > 0' } }
= render 'saved_cards'
.no_cards{ ng: { hide: 'savedCreditCards.length > 0' } }

View File

@@ -2743,5 +2743,6 @@ See the %{link} to find out more about %{sitename}'s features and to start using
cards:
authorised_shops: Authorised Shops
authorised_shops_popover: This is the list of shops which are permitted to charge your default credit card for any subscriptions (ie. repeating orders) you may have. Your card details will be kept secure and will not be shared with shop owners. You will always be notified when you are charged.
saved_cards_popover: This is the list of cards you have opted to save for later use. Your 'default' will be selected automatically when you checkout an order, and can be charged by any shops you have allowed to do so (see right).
localized_number:
invalid_format: has an invalid format. Please enter a number.