@@ -135,21 +135,25 @@ <h1 class="font-h1">{{ .Title }}</h1>
135
135
</ dt >
136
136
< dd >
137
137
< template x-if ="subscriptionData.details.payment_information ">
138
- < div x-show ="subscriptionData.details.payment_information.payment_method.toLowerCase() == 'card' ">
139
- < p class ="font-bold text-2xl md:text-3xl lg:text-4xl ">
140
- {{ i18n "hub_billing_manage_payment_info_credit_card" . }}
141
- </ p >
142
- < p class ="text-xs text-gray-600 mt-1 ">
143
- {{ i18n "hub_billing_manage_payment_info_credit_card_last_four_digits_description" . }}: < span x-text ="subscriptionData.details.payment_information.last_four_digits "> </ span >
138
+ < div >
139
+ < div x-show ="subscriptionData.details.payment_information.payment_method.toLowerCase() == 'card' ">
140
+ < p class ="font-bold text-2xl md:text-3xl lg:text-4xl ">
141
+ {{ i18n "hub_billing_manage_payment_info_credit_card" . }}
142
+ </ p >
143
+ < p class ="text-xs text-gray-600 mt-1 ">
144
+ {{ i18n "hub_billing_manage_payment_info_credit_card_last_four_digits_description" . }}: < span x-text ="subscriptionData.details.payment_information.last_four_digits "> </ span >
145
+ </ p >
146
+ </ div >
147
+ < p x-show ="subscriptionData.details.payment_information.payment_method.toLowerCase() == 'paypal' " class ="font-bold text-2xl md:text-3xl lg:text-4xl ">
148
+ {{ i18n "hub_billing_manage_payment_info_paypal" . }}
144
149
</ p >
145
150
</ div >
146
- < p x-show ="subscriptionData.details.payment_information.payment_method.toLowerCase() == 'paypal' " class ="font-bold text-2xl md:text-3xl lg:text-4xl ">
147
- {{ i18n "hub_billing_manage_payment_info_paypal" . }}
151
+ </ template >
152
+ < template x-if ="!subscriptionData.details.payment_information ">
153
+ < p class ="font-bold text-2xl md:text-3xl lg:text-4xl ">
154
+ –
148
155
</ p >
149
156
</ template >
150
- < p x-show ="!subscriptionData.details.payment_information " class ="font-bold text-2xl md:text-3xl lg:text-4xl ">
151
- –
152
- </ p >
153
157
< p class ="mt-2 ">
154
158
< button :disabled ="subscriptionData.inProgress || subscriptionData.details.state == 'deleted' " @click.prevent ="hubSubscription.updatePaymentMethod('{{ .Site.Language.Lang }}') " class ="text-xs text-btn text-primary ">
155
159
< i class ="fas fa-external-link fa-fw "> </ i >
0 commit comments