Skip to content

Commit

Permalink
Merge pull request #466 from pycontw/temp_hide_proposal
Browse files Browse the repository at this point in the history
hide proposal system temporarily
  • Loading branch information
SivanYeh authored Feb 5, 2024
2 parents 3a35ccf + d3df0ef commit 71ac55b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions components/core/header/nav-bar/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
>
</nav-bar-item-dropdown>
<ext-link
v-if="showProposalSystemPage"
:href="proposalSystemUrl"
:class="getPageClassesByPath('proposalSystemUrl', true)"
>
Expand Down Expand Up @@ -147,6 +148,9 @@ export default {
showVenuePage() {
return this.$store.state.configs.showVenuePage
},
showProposalSystemPage() {
return this.$store.state.configs.showProposalSystemPage
},
},
methods: {
generateI18nItems(items, hideItems = []) {
Expand Down
4 changes: 4 additions & 0 deletions components/core/header/nav-bar/NavBarHamburger.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
@click.native="toggleAccordion('venue')"
></nav-bar-item-accordion>
<ext-link
v-if="showProposalSystemPage"
class="core-navBarHamburgerSlideInMenu__item"
:href="proposalSystemUrl"
>{{ $t('proposalSystemUrl') }}</ext-link
Expand Down Expand Up @@ -173,6 +174,9 @@ export default {
showVenuePage() {
return this.$store.state.configs.showVenuePage
},
showProposalSystemPage() {
return this.$store.state.configs.showProposalSystemPage
},
},
watch: {
$route() {
Expand Down
4 changes: 2 additions & 2 deletions i18n/speaking/cfp.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default genI18nMessages({
howToSubmit: {
title: 'How to Submit Your Proposal',
description: [
'You need to {signUp} for a new account on our system. With an activated account, you can fill up the speaker profile and create new proposals through the {proposalSystem} page.',
'You need to sign up for a new account on our system. With an activated account, you can fill up the speaker profile and create new proposals through the proposal system page.',
'We encourage you to submit the proposal as early as possible. You are welcomed to submit multiple proposals.',
'Since COVID-19 become stable, we recommend attending the meeting venue in person. If you have personal reasons, you may ask to give your talk or tutorial remotely.',
],
Expand Down Expand Up @@ -151,7 +151,7 @@ export default genI18nMessages({
howToSubmit: {
title: '提交稿件',
description: [
'您需要先在系統上 {signUp} 一個新的帳號。在啟用您的帳號之後,就可以填寫講者資訊,並從 {proposalSystem} 頁面中建立新的投搞。我們強烈建議您儘早送出您的投稿。',
'您需要先在系統上註冊一個新的帳號。在啟用您的帳號之後,就可以填寫講者資訊,並從投稿系統頁面中建立新的投搞。我們強烈建議您儘早送出您的投稿。',
'因應 COVID-19 疫情逐漸穩定,今年演講與專業課程將會以實體會議形式舉辦,建議講者來到現場與會眾互動。若有不可抗力之因素,您仍可以依照自身狀況選擇是否親自前來。',
],
steps: [],
Expand Down
1 change: 1 addition & 0 deletions store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const state = () => ({
showEventsPage: false,
showConferencePage: false,
showVenuePage: false,
showProposalSystemPage: false,
showIndexSponsorSection: false,
showIndexSecondaryBtn: true,
aboutHideItems: ['apacCommunity'], // ['pycontw', 'apacCommunity', 'history', 'community', 'codeOfConduct']
Expand Down

0 comments on commit 71ac55b

Please sign in to comment.