diff --git a/config/sync/core.entity_form_display.taxonomy_term.showroom.default.yml b/config/sync/core.entity_form_display.taxonomy_term.showroom.default.yml index d20ff46b..aab82bc3 100644 --- a/config/sync/core.entity_form_display.taxonomy_term.showroom.default.yml +++ b/config/sync/core.entity_form_display.taxonomy_term.showroom.default.yml @@ -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: { } diff --git a/config/sync/core.entity_view_display.taxonomy_term.showroom.default.yml b/config/sync/core.entity_view_display.taxonomy_term.showroom.default.yml index 248cc05f..7b5f6c44 100644 --- a/config/sync/core.entity_view_display.taxonomy_term.showroom.default.yml +++ b/config/sync/core.entity_view_display.taxonomy_term.showroom.default.yml @@ -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 diff --git a/config/sync/core.entity_view_display.taxonomy_term.showroom.home.yml b/config/sync/core.entity_view_display.taxonomy_term.showroom.home.yml index 48520ea3..551e7660 100644 --- a/config/sync/core.entity_view_display.taxonomy_term.showroom.home.yml +++ b/config/sync/core.entity_view_display.taxonomy_term.showroom.home.yml @@ -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 diff --git a/config/sync/field.field.taxonomy_term.showroom.field_website.yml b/config/sync/field.field.taxonomy_term.showroom.field_website.yml new file mode 100644 index 00000000..9af3ebcd --- /dev/null +++ b/config/sync/field.field.taxonomy_term.showroom.field_website.yml @@ -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 diff --git a/config/sync/gdpr_fields.gdpr_fields_config.taxonomy_term.yml b/config/sync/gdpr_fields.gdpr_fields_config.taxonomy_term.yml new file mode 100644 index 00000000..44cebc03 --- /dev/null +++ b/config/sync/gdpr_fields.gdpr_fields_config.taxonomy_term.yml @@ -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: '' diff --git a/config/sync/views.view.showrooms.yml b/config/sync/views.view.showrooms.yml index 50a222bc..0a8bb946 100644 --- a/config/sync/views.view.showrooms.yml +++ b/config/sync/views.view.showrooms.yml @@ -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' diff --git a/web/themes/custom/materiotheme/assets/dist/module-showrooms.bundle.js b/web/themes/custom/materiotheme/assets/dist/module-showrooms.bundle.js index 4250ac51..8d016331 100644 --- a/web/themes/custom/materiotheme/assets/dist/module-showrooms.bundle.js +++ b/web/themes/custom/materiotheme/assets/dist/module-showrooms.bundle.js @@ -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}}]); \ No newline at end of file +(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}}]); \ No newline at end of file diff --git a/web/themes/custom/materiotheme/assets/dist/module-showrooms.bundle.js.gz b/web/themes/custom/materiotheme/assets/dist/module-showrooms.bundle.js.gz index 91a918f9..5d4dd5bd 100644 Binary files a/web/themes/custom/materiotheme/assets/dist/module-showrooms.bundle.js.gz and b/web/themes/custom/materiotheme/assets/dist/module-showrooms.bundle.js.gz differ diff --git a/web/themes/custom/materiotheme/assets/dist/report.html b/web/themes/custom/materiotheme/assets/dist/report.html index 475e5543..3695c75f 100644 --- a/web/themes/custom/materiotheme/assets/dist/report.html +++ b/web/themes/custom/materiotheme/assets/dist/report.html @@ -3,7 +3,7 @@ - materio.com [3 Sep 2021 at 08:38] + materio.com [3 Sep 2021 at 09:05] diff --git a/web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue b/web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue index 59d82490..ccb4ea81 100644 --- a/web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue +++ b/web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue @@ -10,6 +10,7 @@