|
|
@@ -299,6 +299,17 @@
|
|
|
</div>
|
|
|
</v-col>
|
|
|
</v-row>
|
|
|
+ <div class="d-flex w100 justify-center">
|
|
|
+ <v-btn
|
|
|
+ v-if="!parentIsCmf"
|
|
|
+ :href="cmfStructuresPageUrl"
|
|
|
+ target="_blank"
|
|
|
+ class="my-auto mx-4"
|
|
|
+ >
|
|
|
+ <font-awesome-icon :icon="['fas', 'external-link-alt']" class="mr-2" />
|
|
|
+ {{ $t('see_national_network') }}
|
|
|
+ </v-btn>
|
|
|
+ </div>
|
|
|
</LayoutContainer>
|
|
|
</template>
|
|
|
|
|
|
@@ -311,6 +322,7 @@ import sphericDistance from '@/services/utils/geo'
|
|
|
import StructuresProvider from '~/services/data/StructuresProvider'
|
|
|
|
|
|
const CMF_ID = 12097
|
|
|
+const CMF_STRUCTURES_PAGE_URL = 'https://www.cmf-musique.org/la-cmf/la-cmf-en-region/cmf-en-region/'
|
|
|
|
|
|
export default Vue.extend({
|
|
|
validate ({ query }) {
|
|
|
@@ -374,6 +386,9 @@ export default Vue.extend({
|
|
|
parentIsCmf (): Boolean {
|
|
|
return this.parent === CMF_ID
|
|
|
},
|
|
|
+ cmfStructuresPageUrl (): string {
|
|
|
+ return CMF_STRUCTURES_PAGE_URL
|
|
|
+ },
|
|
|
onMapFilteredStructures (): Array<Structure> {
|
|
|
if (this.mapview && this.mapBoundsFilterStarted) {
|
|
|
return this.filteredStructures.filter((s) => {
|