Skip to content

Commit 91d4fcb

Browse files
committed
closedPrice for general ticket
1 parent 77d9536 commit 91d4fcb

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

app/assets/locale/all.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export default {
128128
ticket_early_price_closed: '※ 早割は9/30(土)までで終了しました。',
129129
ticket_early_price_notice: '残席わずかです!',
130130
ticket_price: '{0} 円',
131+
ticket_explain: '※ 販売を終了しました。',
131132
namecard_schedule_limit: '応募期限: {0} まで',
132133
handson_schedule_limit: '応募期限: {0} まで',
133134
ticket_type: 'チケット種別',
@@ -440,6 +441,7 @@ export default {
440441
ticket_early_price_closed: '※ Early price ended on 9/30 (Sat.)',
441442
ticket_early_price_notice: 'Only a few seats remain!',
442443
ticket_price: '¥ {0}',
444+
ticket_explain: '※ Tickets sales ended.',
443445
namecard_schedule_limit: 'Name card Deadline: Until {0}',
444446
handson_schedule_limit: 'Hands-on Deadline: Until {0}',
445447
ticket_type: 'Ticket Type',

app/components/namecard/TicketSection.vue

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { closedEarlyPrice, closedPrice } from '~/utils/status.constants'
2727
-->
2828
<!-- チケットを購入 -->
2929
<div class="apply">
30-
<RoundButton :href="ticketUrl" target="_blank" rel="noreferrer">
30+
<RoundButton :href="ticketUrl" target="_blank" rel="noreferrer" :disabled="closedPrice">
3131
{{ $t('words.buy_ticket') }}
3232
</RoundButton>
3333
</div>
@@ -40,7 +40,12 @@ import { closedEarlyPrice, closedPrice } from '~/utils/status.constants'
4040
<img alt="" src="/tickets/attendee.png" width="400" height="225" decoding="async" />
4141
</template>
4242
<template #action>
43+
<!--
4344
<a :href="ticketUrl" target="_blank" rel="noreferrer"> {{ $t('top.general_ticket') }}</a>
45+
-->
46+
<a>
47+
<s>{{ $t('top.general_ticket') }}</s>
48+
</a>
4449
</template>
4550
<template #default>
4651
<div v-if="!closedEarlyPrice" class="price">
@@ -50,12 +55,20 @@ import { closedEarlyPrice, closedPrice } from '~/utils/status.constants'
5055
<span class="early-price">{{ $t('top.ticket_early_price_explain') }}</span>
5156
</div>
5257
<div class="price-list">
58+
<!--
5359
<i18n-t keypath="top.ticket_price" tag="p" class="price" scope="global">
5460
<strong>8,000</strong>
5561
</i18n-t>
56-
<div v-if="closedEarlyPrice" class="price">
62+
-->
63+
<i18n-t keypath="top.ticket_price" tag="p" class="price" scope="global">
64+
<strong><s>8,000</s></strong>
65+
</i18n-t>
66+
<div v-if="!closedPrice && closedEarlyPrice" class="price">
5767
<span class="early-price">{{ $t('top.ticket_early_price_closed') }}</span>
5868
</div>
69+
<div v-if="closedPrice" class="price">
70+
<p class="early-price">{{ $t('top.ticket_explain') }}</p>
71+
</div>
5972
</div>
6073
</template>
6174
</TicketCard>
@@ -64,9 +77,12 @@ import { closedEarlyPrice, closedPrice } from '~/utils/status.constants'
6477
<img alt="" src="/tickets/attendee+party.png" width="400" height="225" decoding="async" />
6578
</template>
6679
<template #action>
80+
<!--
81+
<a :href="ticketUrl" target="_blank" rel="noreferrer"> {{ $t('top.after_party_ticket') }}</a>
82+
-->
6783
<a>
68-
<s>{{ $t('top.after_party_ticket') }}</s></a
69-
>
84+
<s>{{ $t('top.after_party_ticket') }}</s>
85+
</a>
7086
</template>
7187
<template #default>
7288
<div class="price-list">
@@ -77,6 +93,11 @@ import { closedEarlyPrice, closedPrice } from '~/utils/status.constants'
7793
<p class="early-price">{{ $t('top.ticket_early_price_explain') }}</p>
7894
<p class="early-price-notice">{{ $t('top.ticket_early_price_notice') }}</p>
7995
</div>
96+
<!--
97+
<i18n-t keypath="top.ticket_price" tag="p" class="price" scope="global">
98+
<strong>11,000</strong>
99+
</i18n-t>
100+
-->
80101
<i18n-t keypath="top.ticket_price" tag="p" class="price" scope="global">
81102
<strong><s>11,000</s></strong>
82103
</i18n-t>

0 commit comments

Comments
 (0)