Skip to content

Commit 824a96b

Browse files
authored
Merge pull request #447 from ivpn/task/move-gift-code-to-regular-payment
Move Gift Code to regular payment option buttons
2 parents 39e2deb + ea08a36 commit 824a96b

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

src/themes/ivpn-v3/assets/js/components/SelectPaymentMethod.vue

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,13 @@
5858
>
5959
<div class="cash-icon"></div>
6060
Cash
61-
</router-link>
61+
</router-link>
62+
</div>
63+
<div>
64+
Have a voucher code?
65+
<router-link :to="{ name: 'add-funds-voucher', params: { price: price.id } }">Redeem it here</router-link>.
6266
</div>
67+
<!--
6368
<div class="pay-buttons">
6469
<div class="more-methods">
6570
<a @click.prevent="toggleMoreOptions()" v-if="!more" href='#'
@@ -68,19 +73,9 @@
6873
<a @click.prevent="toggleMoreOptions()" v-else href='#'
6974
>Hide additional payment options</a
7075
>
71-
</div>
72-
<router-link v-if="more"
73-
tag="button"
74-
class="btn btn-solid pay-button"
75-
:to="{
76-
name: 'add-funds-giftcard',
77-
params: { price: price.id },
78-
}"
79-
>
80-
<div class="giftcard-icon"></div>
81-
Gift Code
82-
</router-link>
76+
</div>
8377
</div>
78+
-->
8479
</div>
8580
</template>
8681

@@ -171,6 +166,7 @@ export default {
171166
}
172167
.pay-buttons {
173168
margin-top: 12px;
169+
margin-bottom: 32px;
174170
.pay-button {
175171
width: 220px;
176172
line-height: 28px;

0 commit comments

Comments
 (0)