This commit is contained in:
ogerly 2021-09-22 10:29:26 +02:00
parent c5c97c0e67
commit 35abbdc642
4 changed files with 32 additions and 24 deletions

View File

@ -21,11 +21,11 @@
<div class="text-center text-muted mb-4">
<small>{{ $t('login') }}</small>
</div>
<div class="text-center text-muted mb-4">
{{ $store.state.community_name }}
<div class="text-center text-muted mb-4">
{{ $store.state.community_name }}
</div>
<div class="text-center text-muted mb-4">
{{ $store.state.community.description }}
{{ $store.state.community.description }}
</div>
<validation-observer ref="observer" v-slot="{ handleSubmit }">
<b-form @submit.stop.prevent="handleSubmit(onSubmit)">

View File

@ -1,21 +1,22 @@
<template>
<div id="registerform">
<div class="justify-content-center container">
<b-card
bg-variant="info"
text-variant=""
:header="$store.state.community_name"
class="text-center"
>
<b-card-text>
{{ $store.state.community.description }}, Location:
{{ $store.state.community.location }}
</b-card-text>
</b-card>
<b-card
bg-variant="info"
text-variant=""
:header="$store.state.community_name"
class="text-center"
>
<b-card-text>
{{ $store.state.community.description }}, Location:
{{ $store.state.community.location }}
</b-card-text>
</b-card>
</div>
<div class="text-center py-lg-4">
<router-link to="/select-community" class="mt-3">{{$t('community.choose-another-aommunity')}}</router-link>
<router-link to="/select-community" class="mt-3">
{{ $t('community.choose-another-aommunity') }}
</router-link>
</div>
<!-- Header -->

View File

@ -12,13 +12,17 @@
{{ $store.state.community.description }}, Location:
{{ $store.state.community.location }}
</b-card-text>
<b-button size="sm" to="/register">{{$t('community.continue-to-registration')}}</b-button>
<b-button size="sm" to="/register">
{{ $t('community.continue-to-registration') }}
</b-button>
</b-card>
</div>
<hr />
<div class="text-center py-lg-4">
<router-link to="/select-community" class="mt-3">{{$t('community.choose-another-aommunity')}}</router-link>
<router-link to="/select-community" class="mt-3">
{{ $t('community.choose-another-aommunity') }}
</router-link>
</div>
<hr />

View File

@ -14,7 +14,9 @@
{{ $store.state.community.description }}, Location:
{{ $store.state.community.location }}
</b-card-text>
<b-button size="sm" to="/register">{{ $t('community.continue-to-registration') }}</b-button>
<b-button size="sm" to="/register">
{{ $t('community.continue-to-registration') }}
</b-button>
</b-card>
</div>
@ -28,10 +30,12 @@
:header="community.name"
>
<b-card-text>beschreibung für community 1, Location:</b-card-text>
<b-button size="sm" :href="community.url">{{ $t('community.switch-to-this-community')}}</b-button>
<b-button size="sm" :href="community.url">
{{ $t('community.switch-to-this-community') }}
</b-button>
</b-card>
</div>
<hr />
<div class="text-center py-lg-4">
<router-link to="/login" class="mt-3">{{ $t('back') }}</router-link>
@ -40,16 +44,15 @@
</div>
</template>
<script>
import json from '/public/json-example/communitys.json'
import MyCommunitys from '../../../public/json-example/communitys.json'
export default {
name: 'registerSelectCommunity',
data() {
return {
communitys: json,
communitys: MyCommunitys,
}
},
methods: {},
}
</script>
<style></style>