newsletter issues visible on front with right alias

This commit is contained in:
Bachir Soussi Chiadmi 2021-08-17 21:59:56 +02:00
parent 803261caaa
commit 383fec17e8
8 changed files with 3394 additions and 12 deletions

View File

@ -0,0 +1,24 @@
uuid: 6e84b134-54a0-4e64-b163-0698bc11eedf
langcode: fr
status: true
dependencies:
module:
- node
id: simplenews
label: simplenews
type: 'canonical_entities:node'
pattern: 'newsletter/[node:simplenews_issue]/[node:title]'
selection_criteria:
efc914c4-688c-412a-a745-e61a7c1535ae:
id: node_type
bundles:
simplenews_issue: simplenews_issue
negate: false
context_mapping:
node: node
uuid: efc914c4-688c-412a-a745-e61a7c1535ae
selection_logic: and
weight: -10
relationships:
'node:langcode:language':
label: Langue

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -96,7 +96,9 @@ export let _v_sitebranding_block, _v_user_block, _v_header_menu,
drupalDecoupled.route_name.indexOf('flagging_collection') !== -1 || drupalDecoupled.route_name.indexOf('flagging_collection') !== -1 ||
drupalDecoupled.route_name.indexOf('user') !== -1 || drupalDecoupled.route_name.indexOf('user') !== -1 ||
drupalDecoupled.route_name.indexOf('entity.webform.canonical') !== -1 || drupalDecoupled.route_name.indexOf('entity.webform.canonical') !== -1 ||
drupalDecoupled.route_name.indexOf('entity.webform.confirmation') !== -1) { drupalDecoupled.route_name.indexOf('entity.webform.confirmation') !== -1 ||
(drupalDecoupled.route_name === 'entity.node.canonical' && drupalDecoupled.entity_bundle === 'simplenews_issue')
) {
console.debug('NO VUEJS') console.debug('NO VUEJS')
return true return true
} else { } else {

View File

@ -552,7 +552,8 @@ header[role="banner"]{
padding:0.5em 1em; padding:0.5em 1em;
} }
body.path-blabla &, body.path-blabla &,
body.path-checkout & { body.path-checkout &,
body.page-node-type-simplenews-issue & {
color: #fff; color: #fff;
background-color: $color-blabla; background-color: $color-blabla;
} }