added website to showromms #1374
This commit is contained in:
parent
9b49e1bf20
commit
eed9c57c0b
|
@ -9,6 +9,7 @@ dependencies:
|
|||
- field.field.taxonomy_term.showroom.field_public_email
|
||||
- field.field.taxonomy_term.showroom.field_public_phone
|
||||
- field.field.taxonomy_term.showroom.field_visuels
|
||||
- field.field.taxonomy_term.showroom.field_website
|
||||
- field.field.taxonomy_term.showroom.field_workflow
|
||||
- image.style.thumbnail
|
||||
- taxonomy.vocabulary.showroom
|
||||
|
@ -16,6 +17,7 @@ dependencies:
|
|||
- address
|
||||
- field_group
|
||||
- image
|
||||
- link
|
||||
- telephone
|
||||
- text
|
||||
- workflow
|
||||
|
@ -40,6 +42,7 @@ third_party_settings:
|
|||
- field_public_email
|
||||
- field_public_phone
|
||||
- field_public_address
|
||||
- field_website
|
||||
parent_name: group_tabs
|
||||
weight: 21
|
||||
format_type: tab
|
||||
|
@ -153,6 +156,14 @@ content:
|
|||
third_party_settings: { }
|
||||
type: image_image
|
||||
region: content
|
||||
field_website:
|
||||
weight: 6
|
||||
settings:
|
||||
placeholder_url: ''
|
||||
placeholder_title: ''
|
||||
third_party_settings: { }
|
||||
type: link_default
|
||||
region: content
|
||||
field_workflow:
|
||||
weight: 6
|
||||
settings: { }
|
||||
|
|
|
@ -9,11 +9,13 @@ dependencies:
|
|||
- field.field.taxonomy_term.showroom.field_public_email
|
||||
- field.field.taxonomy_term.showroom.field_public_phone
|
||||
- field.field.taxonomy_term.showroom.field_visuels
|
||||
- field.field.taxonomy_term.showroom.field_website
|
||||
- field.field.taxonomy_term.showroom.field_workflow
|
||||
- taxonomy.vocabulary.showroom
|
||||
module:
|
||||
- address
|
||||
- image
|
||||
- link
|
||||
- telephone_formatter
|
||||
- text
|
||||
id: taxonomy_term.showroom.default
|
||||
|
@ -53,7 +55,7 @@ content:
|
|||
type: telephone_formatter
|
||||
region: content
|
||||
field_visuels:
|
||||
weight: 4
|
||||
weight: 5
|
||||
label: above
|
||||
settings:
|
||||
image_style: ''
|
||||
|
@ -61,9 +63,22 @@ content:
|
|||
third_party_settings: { }
|
||||
type: image
|
||||
region: content
|
||||
field_website:
|
||||
weight: 4
|
||||
label: above
|
||||
settings:
|
||||
trim_length: 80
|
||||
url_only: false
|
||||
url_plain: false
|
||||
rel: ''
|
||||
target: ''
|
||||
third_party_settings: { }
|
||||
type: link
|
||||
region: content
|
||||
hidden:
|
||||
field_memo: true
|
||||
field_migration: true
|
||||
field_workflow: true
|
||||
langcode: true
|
||||
search_api_excerpt: true
|
||||
synonyms: true
|
||||
|
|
|
@ -10,6 +10,7 @@ dependencies:
|
|||
- field.field.taxonomy_term.showroom.field_public_email
|
||||
- field.field.taxonomy_term.showroom.field_public_phone
|
||||
- field.field.taxonomy_term.showroom.field_visuels
|
||||
- field.field.taxonomy_term.showroom.field_website
|
||||
- field.field.taxonomy_term.showroom.field_workflow
|
||||
- image.style.home_showroom
|
||||
- taxonomy.vocabulary.showroom
|
||||
|
@ -61,6 +62,7 @@ hidden:
|
|||
description: true
|
||||
field_memo: true
|
||||
field_migration: true
|
||||
field_website: true
|
||||
field_workflow: true
|
||||
langcode: true
|
||||
search_api_excerpt: true
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
uuid: ebdd3e93-8765-4d91-8659-6bc6de2c01cc
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.taxonomy_term.field_website
|
||||
- taxonomy.vocabulary.showroom
|
||||
module:
|
||||
- link
|
||||
- unique_content_field_validation
|
||||
third_party_settings:
|
||||
unique_content_field_validation:
|
||||
unique: false
|
||||
unique_text: ''
|
||||
id: taxonomy_term.showroom.field_website
|
||||
field_name: field_website
|
||||
entity_type: taxonomy_term
|
||||
bundle: showroom
|
||||
label: Website
|
||||
description: ''
|
||||
required: false
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
link_type: 17
|
||||
title: 1
|
||||
field_type: link
|
|
@ -0,0 +1,20 @@
|
|||
uuid: 6707a6fc-d892-45a4-8ba0-ce1373825a1a
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: taxonomy_term
|
||||
bundles:
|
||||
showroom:
|
||||
field_website:
|
||||
bundle: showroom
|
||||
name: field_website
|
||||
entity_type_id: taxonomy_term
|
||||
rtf: 'no'
|
||||
rta: 'no'
|
||||
enabled: false
|
||||
anonymizer: ''
|
||||
notes: ''
|
||||
relationship: 0
|
||||
sars_filename: ''
|
||||
filenames:
|
||||
showroom: ''
|
|
@ -7,6 +7,7 @@ dependencies:
|
|||
- field.storage.taxonomy_term.field_public_email
|
||||
- field.storage.taxonomy_term.field_public_phone
|
||||
- field.storage.taxonomy_term.field_visuels
|
||||
- field.storage.taxonomy_term.field_website
|
||||
- image.style.card_big
|
||||
- image.style.home_showroom
|
||||
- system.menu.header
|
||||
|
@ -14,6 +15,7 @@ dependencies:
|
|||
module:
|
||||
- address
|
||||
- image
|
||||
- link
|
||||
- rest
|
||||
- serialization
|
||||
- taxonomy
|
||||
|
@ -473,6 +475,73 @@ display:
|
|||
separator: ', '
|
||||
field_api_classes: false
|
||||
plugin_id: field
|
||||
field_website:
|
||||
id: field_website
|
||||
table: taxonomy_term__field_website
|
||||
field: field_website
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
label: ''
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: false
|
||||
text: ''
|
||||
make_link: false
|
||||
path: ''
|
||||
absolute: false
|
||||
external: false
|
||||
replace_spaces: false
|
||||
path_case: none
|
||||
trim_whitespace: false
|
||||
alt: ''
|
||||
rel: ''
|
||||
link_class: ''
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
target: ''
|
||||
nl2br: false
|
||||
max_length: 0
|
||||
word_boundary: true
|
||||
ellipsis: true
|
||||
more_link: false
|
||||
more_link_text: ''
|
||||
more_link_path: ''
|
||||
strip_tags: false
|
||||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
element_type: ''
|
||||
element_class: ''
|
||||
element_label_type: ''
|
||||
element_label_class: ''
|
||||
element_label_colon: false
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
click_sort_column: uri
|
||||
type: link
|
||||
settings:
|
||||
trim_length: 80
|
||||
url_only: false
|
||||
url_plain: false
|
||||
rel: nofollow
|
||||
target: _blank
|
||||
group_column: ''
|
||||
group_columns: { }
|
||||
group_rows: true
|
||||
delta_limit: 0
|
||||
delta_offset: 0
|
||||
delta_reversed: false
|
||||
delta_first_last: false
|
||||
multi_type: separator
|
||||
separator: ', '
|
||||
field_api_classes: false
|
||||
plugin_id: field
|
||||
field_visuels:
|
||||
id: field_visuels
|
||||
table: taxonomy_term__field_visuels
|
||||
|
@ -550,6 +619,7 @@ display:
|
|||
- 'config:field.storage.taxonomy_term.field_public_email'
|
||||
- 'config:field.storage.taxonomy_term.field_public_phone'
|
||||
- 'config:field.storage.taxonomy_term.field_visuels'
|
||||
- 'config:field.storage.taxonomy_term.field_website'
|
||||
rest_export_1:
|
||||
display_plugin: rest_export
|
||||
id: rest_export_1
|
||||
|
@ -962,6 +1032,73 @@ display:
|
|||
separator: ', '
|
||||
field_api_classes: false
|
||||
plugin_id: field
|
||||
field_website:
|
||||
id: field_website
|
||||
table: taxonomy_term__field_website
|
||||
field: field_website
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
label: ''
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: false
|
||||
text: ''
|
||||
make_link: false
|
||||
path: ''
|
||||
absolute: false
|
||||
external: false
|
||||
replace_spaces: false
|
||||
path_case: none
|
||||
trim_whitespace: false
|
||||
alt: ''
|
||||
rel: ''
|
||||
link_class: ''
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
target: ''
|
||||
nl2br: false
|
||||
max_length: 0
|
||||
word_boundary: true
|
||||
ellipsis: true
|
||||
more_link: false
|
||||
more_link_text: ''
|
||||
more_link_path: ''
|
||||
strip_tags: false
|
||||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
element_type: ''
|
||||
element_class: ''
|
||||
element_label_type: ''
|
||||
element_label_class: ''
|
||||
element_label_colon: false
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
click_sort_column: uri
|
||||
type: link
|
||||
settings:
|
||||
trim_length: 80
|
||||
url_only: false
|
||||
url_plain: false
|
||||
rel: nofollow
|
||||
target: '0'
|
||||
group_column: ''
|
||||
group_columns: { }
|
||||
group_rows: true
|
||||
delta_limit: 0
|
||||
delta_offset: 0
|
||||
delta_reversed: false
|
||||
delta_first_last: false
|
||||
multi_type: separator
|
||||
separator: ', '
|
||||
field_api_classes: false
|
||||
plugin_id: field
|
||||
field_visuels:
|
||||
id: field_visuels
|
||||
table: taxonomy_term__field_visuels
|
||||
|
@ -1106,3 +1243,4 @@ display:
|
|||
- 'config:field.storage.taxonomy_term.field_public_email'
|
||||
- 'config:field.storage.taxonomy_term.field_public_phone'
|
||||
- 'config:field.storage.taxonomy_term.field_visuels'
|
||||
- 'config:field.storage.taxonomy_term.field_website'
|
||||
|
|
|
@ -1 +1 @@
|
|||
(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[204],{281:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>u});var o=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{attrs:{id:"showrooms"}},[e.items.length?e._l(e.items,(function(e){return s("Showroom",{key:e.uuid,attrs:{item:e}})})):s("div",{staticClass:"loading"},[s("span",[e._v(e._s(e.$t("default.Loading…")))])])],2)};o._withStripped=!0;var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("article",{staticClass:"showroom"},[s("header",[s("h1",{domProps:{innerHTML:e._s(e.item.name)}})]),e._v(" "),s("section",{staticClass:"images"},[s("figure",{domProps:{innerHTML:e._s(e.item.field_visuels)}})]),e._v(" "),s("section",{staticClass:"content"},[s("address",{domProps:{innerHTML:e._s(e.item.field_public_address)}}),e._v(" "),s("div",{staticClass:"phone",domProps:{innerHTML:e._s(e.item.field_public_phone)}}),e._v(" "),s("a",{staticClass:"email",attrs:{href:"mailto:"+e.item.field_public_email},domProps:{innerHTML:e._s(e.item.field_public_email)}})])])};i._withStripped=!0;var r=s(4408);drupalSettings.path.baseUrl,drupalSettings.path.pathPrefix;const n={name:"Showroom",router:r.Z,props:["item"]};var m=s(1900),a=(0,m.Z)(n,i,[],!1,null,"695652b0",null);a.options.__file="web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue";const l=a.exports;var c=s(629);const h={name:"Showrooms",computed:{...(0,c.rn)({items:e=>e.Showrooms.items})},created(){this.items.length||this.getItems()},methods:{...(0,c.nv)({getItems:"Showrooms/getItems"})},components:{Showroom:l}};var p=(0,m.Z)(h,o,[],!1,null,"7566e5fe",null);p.options.__file="web/themes/custom/materiotheme/vuejs/components/Pages/Showrooms.vue";const u=p.exports}}]);
|
||||
(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[204],{281:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>p});var o=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{attrs:{id:"showrooms"}},[e.items.length?e._l(e.items,(function(e){return s("Showroom",{key:e.uuid,attrs:{item:e}})})):s("div",{staticClass:"loading"},[s("span",[e._v(e._s(e.$t("default.Loading…")))])])],2)};o._withStripped=!0;var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("article",{staticClass:"showroom"},[s("header",[s("h1",{domProps:{innerHTML:e._s(e.item.name)}})]),e._v(" "),s("section",{staticClass:"images"},[s("figure",{domProps:{innerHTML:e._s(e.item.field_visuels)}})]),e._v(" "),s("section",{staticClass:"content"},[s("address",{domProps:{innerHTML:e._s(e.item.field_public_address)}}),e._v(" "),s("div",{staticClass:"phone",domProps:{innerHTML:e._s(e.item.field_public_phone)}}),e._v(" "),s("a",{staticClass:"email",attrs:{href:"mailto:"+e.item.field_public_email},domProps:{innerHTML:e._s(e.item.field_public_email)}}),e._v(" "),s("div",{staticClass:"website",domProps:{innerHTML:e._s(e.item.field_website)}})])])};i._withStripped=!0;var r=s(4408);drupalSettings.path.baseUrl,drupalSettings.path.pathPrefix;const n={name:"Showroom",router:r.Z,props:["item"]};var m=s(1900),a=(0,m.Z)(n,i,[],!1,null,"695652b0",null);a.options.__file="web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue";const l=a.exports;var c=s(629);const _={name:"Showrooms",computed:{...(0,c.rn)({items:e=>e.Showrooms.items})},created(){this.items.length||this.getItems()},methods:{...(0,c.nv)({getItems:"Showrooms/getItems"})},components:{Showroom:l}};var d=(0,m.Z)(_,o,[],!1,null,"7566e5fe",null);d.options.__file="web/themes/custom/materiotheme/vuejs/components/Pages/Showrooms.vue";const p=d.exports}}]);
|
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -10,6 +10,7 @@
|
|||
<address v-html="item.field_public_address" />
|
||||
<div class="phone" v-html="item.field_public_phone" />
|
||||
<a class="email" :href="'mailto:'+item.field_public_email" v-html="item.field_public_email" />
|
||||
<div class="website" v-html="item.field_website" />
|
||||
</section>
|
||||
</article>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue