started second cartel of audio player
This commit is contained in:
@@ -128,6 +128,7 @@ edlp_vars = {
|
||||
console.log('AudioPlayer node loaded', data);
|
||||
this.$cartel.html(data.rendered);
|
||||
this.$cartel.removeClass('loading');
|
||||
initAjaxLinks();
|
||||
},
|
||||
onNodeLoadFail(jqxhr, textStatus, error){
|
||||
console.warn('AudioPlayer node load failed', jqxhr.responseText);
|
||||
@@ -238,20 +239,16 @@ edlp_vars = {
|
||||
_$ajaxLinks = $('.ajax-link:not(.ajax-enabled)')
|
||||
.each(function(i,e){
|
||||
var $this = $(this);
|
||||
|
||||
// avoid already ajaxified links
|
||||
// if($this.is('.ajax-enable')) return;
|
||||
|
||||
var sys_path = $this.attr('data-drupal-link-system-path');
|
||||
if(sys_path){
|
||||
// convert node link to edlp_ajax_node module links
|
||||
m = sys_path.match(/^\/?(node\/\d+)$/g);
|
||||
if(m) $this.attr('data-drupal-link-system-path', 'edlp/'+m[0]);
|
||||
$this.on('click', onClickAjaxLink).addClass('ajax-enable');
|
||||
}
|
||||
$this.on('click', onClickAjaxLink).addClass('ajax-enable');
|
||||
})
|
||||
|
||||
;
|
||||
});
|
||||
};
|
||||
|
||||
function onClickAjaxLink(e){
|
||||
@@ -270,10 +267,12 @@ edlp_vars = {
|
||||
var path = window.location.origin + drupalSettings.path.baseUrl + sys_path;
|
||||
_$body.addClass('ajax-loading');
|
||||
$link.addClass('ajax-loading');
|
||||
// $.getJSON(path, {}, function(data){
|
||||
// onAjaxLinkLoaded(data, $link, sys_path);
|
||||
// });
|
||||
$.getJSON(path+'/ajax', {})
|
||||
// check for viewmode attribute
|
||||
path += '/ajax';
|
||||
if($link.attr('viewmode') != ''){
|
||||
path += '/'+$link.attr('viewmode');
|
||||
}
|
||||
$.getJSON(path, {})
|
||||
.done(function(data){
|
||||
onAjaxLinkLoaded(data, $link, sys_path);
|
||||
})
|
||||
|
||||
@@ -1363,6 +1363,7 @@ body.ajax-loading main[role="main"]:before {
|
||||
#audio-player .favoris {
|
||||
height: 100%; }
|
||||
#audio-player .cartel {
|
||||
position: relative;
|
||||
max-width: 400px;
|
||||
margin-left: 1em;
|
||||
background-color: white;
|
||||
@@ -1371,58 +1372,79 @@ body.ajax-loading main[role="main"]:before {
|
||||
transition: opacity 0.5s ease-in-out; }
|
||||
#audio-player .cartel.loading {
|
||||
opacity: 0; }
|
||||
#audio-player .cartel .entrees {
|
||||
#audio-player .cartel .first-cartel .entrees {
|
||||
line-height: 0; }
|
||||
#audio-player .cartel .entrees span {
|
||||
#audio-player .cartel .first-cartel .entrees span {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background-color: black;
|
||||
margin-right: 3px; }
|
||||
#audio-player .cartel .entrees span[tid='134'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='134'] {
|
||||
background-color: #2b8f2f; }
|
||||
#audio-player .cartel .entrees span[tid='121'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='121'] {
|
||||
background-color: #3a33b6; }
|
||||
#audio-player .cartel .entrees span[tid='125'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='125'] {
|
||||
background-color: #2c9f57; }
|
||||
#audio-player .cartel .entrees span[tid='119'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='119'] {
|
||||
background-color: #c48978; }
|
||||
#audio-player .cartel .entrees span[tid='132'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='132'] {
|
||||
background-color: #5270bb; }
|
||||
#audio-player .cartel .entrees span[tid='122'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='122'] {
|
||||
background-color: #fb54d3; }
|
||||
#audio-player .cartel .entrees span[tid='129'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='129'] {
|
||||
background-color: #e07483; }
|
||||
#audio-player .cartel .entrees span[tid='120'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='120'] {
|
||||
background-color: #655845; }
|
||||
#audio-player .cartel .entrees span[tid='130'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='130'] {
|
||||
background-color: #7e0868; }
|
||||
#audio-player .cartel .entrees span[tid='118'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='118'] {
|
||||
background-color: #0e7121; }
|
||||
#audio-player .cartel .entrees span[tid='127'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='127'] {
|
||||
background-color: #dabd42; }
|
||||
#audio-player .cartel .entrees span[tid='133'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='133'] {
|
||||
background-color: #0399bb; }
|
||||
#audio-player .cartel .entrees span[tid='128'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='128'] {
|
||||
background-color: #399a1c; }
|
||||
#audio-player .cartel .entrees span[tid='124'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='124'] {
|
||||
background-color: #708540; }
|
||||
#audio-player .cartel .entrees span[tid='116'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='116'] {
|
||||
background-color: #191bff; }
|
||||
#audio-player .cartel .entrees span[tid='117'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='117'] {
|
||||
background-color: #279d84; }
|
||||
#audio-player .cartel .entrees span[tid='131'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='131'] {
|
||||
background-color: #5219ab; }
|
||||
#audio-player .cartel .entrees span[tid='126'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='126'] {
|
||||
background-color: #d49cb6; }
|
||||
#audio-player .cartel .entrees span[tid='123'] {
|
||||
#audio-player .cartel .first-cartel .entrees span[tid='123'] {
|
||||
background-color: #497715; }
|
||||
#audio-player .cartel h2.node-title {
|
||||
#audio-player .cartel .first-cartel h2.node-title {
|
||||
margin: 0.2em 0 0;
|
||||
font-size: 1em; }
|
||||
#audio-player .cartel p {
|
||||
#audio-player .cartel .first-cartel p {
|
||||
margin: 0;
|
||||
font-size: 0.75em; }
|
||||
#audio-player .cartel .second-cartel {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: white;
|
||||
height: 100%;
|
||||
min-width: 100%;
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.2s ease-in-out;
|
||||
transition: opacity 0.2s ease-in-out; }
|
||||
#audio-player .cartel .second-cartel > * {
|
||||
display: inline-block;
|
||||
vertical-align: top; }
|
||||
#audio-player .cartel .second-cartel .col-left a {
|
||||
display: block;
|
||||
font-size: 0.90em;
|
||||
font-weight: 600; }
|
||||
#audio-player .cartel .second-cartel .col-right {
|
||||
font-size: 0.75em; }
|
||||
#audio-player .cartel:hover .second-cartel {
|
||||
opacity: 1; }
|
||||
#audio-player.is-playing .btns .play-pause {
|
||||
background-image: url(../img/audio-player-pause.svg); }
|
||||
|
||||
|
||||
@@ -105,6 +105,7 @@
|
||||
console.log('AudioPlayer node loaded', data);
|
||||
this.$cartel.html(data.rendered);
|
||||
this.$cartel.removeClass('loading');
|
||||
initAjaxLinks();
|
||||
},
|
||||
onNodeLoadFail(jqxhr, textStatus, error){
|
||||
console.warn('AudioPlayer node load failed', jqxhr.responseText);
|
||||
@@ -215,20 +216,16 @@
|
||||
_$ajaxLinks = $('.ajax-link:not(.ajax-enabled)')
|
||||
.each(function(i,e){
|
||||
var $this = $(this);
|
||||
|
||||
// avoid already ajaxified links
|
||||
// if($this.is('.ajax-enable')) return;
|
||||
|
||||
var sys_path = $this.attr('data-drupal-link-system-path');
|
||||
if(sys_path){
|
||||
// convert node link to edlp_ajax_node module links
|
||||
m = sys_path.match(/^\/?(node\/\d+)$/g);
|
||||
if(m) $this.attr('data-drupal-link-system-path', 'edlp/'+m[0]);
|
||||
$this.on('click', onClickAjaxLink).addClass('ajax-enable');
|
||||
}
|
||||
$this.on('click', onClickAjaxLink).addClass('ajax-enable');
|
||||
})
|
||||
|
||||
;
|
||||
});
|
||||
};
|
||||
|
||||
function onClickAjaxLink(e){
|
||||
@@ -247,10 +244,12 @@
|
||||
var path = window.location.origin + drupalSettings.path.baseUrl + sys_path;
|
||||
_$body.addClass('ajax-loading');
|
||||
$link.addClass('ajax-loading');
|
||||
// $.getJSON(path, {}, function(data){
|
||||
// onAjaxLinkLoaded(data, $link, sys_path);
|
||||
// });
|
||||
$.getJSON(path+'/ajax', {})
|
||||
// check for viewmode attribute
|
||||
path += '/ajax';
|
||||
if($link.attr('viewmode') != ''){
|
||||
path += '/'+$link.attr('viewmode');
|
||||
}
|
||||
$.getJSON(path, {})
|
||||
.done(function(data){
|
||||
onAjaxLinkLoaded(data, $link, sys_path);
|
||||
})
|
||||
|
||||
@@ -299,26 +299,56 @@ main[role="main"]{
|
||||
}
|
||||
.cartel{
|
||||
// TODO: set max-width regarding responsive
|
||||
position: relative;
|
||||
max-width: 400px;
|
||||
margin-left: 1em;
|
||||
background-color: white;
|
||||
opacity: 1;
|
||||
transition: opacity 0.5s ease-in-out;
|
||||
&.loading{opacity: 0;}
|
||||
.first-cartel{
|
||||
|
||||
.entrees{
|
||||
line-height: 0;
|
||||
span{
|
||||
@include entrie-micro-square;
|
||||
.entrees{
|
||||
line-height: 0;
|
||||
span{
|
||||
@include entrie-micro-square;
|
||||
}
|
||||
}
|
||||
h2.node-title{
|
||||
margin:0.2em 0 0;
|
||||
font-size: 1em;
|
||||
}
|
||||
p{
|
||||
margin:0;
|
||||
font-size: 0.75em;
|
||||
}
|
||||
}
|
||||
h2.node-title{
|
||||
margin:0.2em 0 0;
|
||||
font-size: 1em;
|
||||
.second-cartel{
|
||||
position: absolute;
|
||||
top: 0; left:0;
|
||||
background-color: white;
|
||||
height:100%; min-width: 100%;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
&>*{
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
.col-left{
|
||||
a{
|
||||
display: block;
|
||||
font-size: 0.90em;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
.col-right{
|
||||
font-size: 0.75em;
|
||||
}
|
||||
}
|
||||
p{
|
||||
margin:0;
|
||||
font-size: 0.75em;
|
||||
&:hover{
|
||||
.second-cartel{
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.is-playing{
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* Functions to support theming in the edlp theme.
|
||||
*/
|
||||
|
||||
|
||||
use Drupal\Core\Url;
|
||||
use Drupal\Core\Form\FormStateInterface;
|
||||
use Drupal\Core\Template\Attribute;
|
||||
|
||||
@@ -17,7 +17,7 @@ use Drupal\Core\Template\Attribute;
|
||||
function edlptheme_preprocess_node(&$vars){
|
||||
$node = $vars['elements']['#node'];
|
||||
$options = ['absolute' => TRUE];
|
||||
$url = \Drupal\Core\Url::fromRoute('entity.node.canonical', ['node' => $node->id()], $options);
|
||||
$url = Url::fromRoute('entity.node.canonical', ['node' => $node->id()], $options);
|
||||
$system_path = $url->getInternalPath();
|
||||
$vars['link_attributes'] = new Attribute(array(
|
||||
'data-drupal-link-system-path' => $system_path=='' ? '<front>' : $system_path
|
||||
@@ -53,3 +53,47 @@ function edlptheme_preprocess_edlp_productions(&$vars){
|
||||
}
|
||||
// dpm($vars);
|
||||
}
|
||||
|
||||
function edlptheme_preprocess_node__player_cartel(&$vars){
|
||||
// dpm($vars);
|
||||
// if transcript not empty
|
||||
$url = Url::fromRoute('entity.node.canonical', ['node'=>$vars['node']->id()], array(
|
||||
'attributes' => array(
|
||||
'class' => ['link-transcript', 'ajax-link'],
|
||||
'viewmode'=>'transcript'
|
||||
)
|
||||
));
|
||||
$vars['link_transcript'] = array(
|
||||
'#title' => t("Lire le text."),
|
||||
'#type' => 'link',
|
||||
'#url' => $url,
|
||||
'#options'=>array(
|
||||
'attributes' => array(
|
||||
'data-drupal-link-system-path' => $url->getInternalPath()
|
||||
)
|
||||
)
|
||||
);
|
||||
// if article not empty
|
||||
$url = Url::fromRoute('entity.node.canonical', ['node'=>$vars['node']->id()], array(
|
||||
'attributes' => array(
|
||||
'class' => ['link-article', 'ajax-link'],
|
||||
'viewmode'=>'article'
|
||||
)
|
||||
));
|
||||
$vars['link_article'] = array(
|
||||
'#title' => t("Lire l'article."),
|
||||
'#type' => 'link',
|
||||
'#url' => $url,
|
||||
'#options' => array(
|
||||
'attributes'=>array(
|
||||
'data-drupal-link-system-path' => $url->getInternalPath()
|
||||
)
|
||||
)
|
||||
);
|
||||
// if article or transcript
|
||||
$vars['col_left'] = true;
|
||||
|
||||
// if
|
||||
$vars['col_right'] = true;
|
||||
|
||||
}
|
||||
|
||||
@@ -82,19 +82,32 @@
|
||||
%}
|
||||
{{ attach_library('classy/node') }}
|
||||
<article{{ attributes.addClass(classes) }}>
|
||||
<div class="entrees">
|
||||
{# THIS IS REALLY DIRTY !! #}
|
||||
{% for key, child in content.field_entrees if key|first != '#' %}
|
||||
{% set tid = child['#cache']['tags'][0]|replace({'taxonomy_term:':''}) %}
|
||||
<span class="entree" tid="{{ tid }}" title="{{ child }}"></span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<h2{{ title_attributes.addClass('node-title') }}>
|
||||
{{ label }}
|
||||
</h2>
|
||||
|
||||
<div{{ content_attributes.addClass('node__content') }}>
|
||||
{{ content|without('field_entrees') }}
|
||||
</div>
|
||||
|
||||
<section class="first-cartel">
|
||||
<div class="entrees">
|
||||
{# THIS IS REALLY DIRTY !! #}
|
||||
{% for key, child in content.field_entrees if key|first != '#' %}
|
||||
{% set tid = child['#cache']['tags'][0]|replace({'taxonomy_term:':''}) %}
|
||||
<span class="entree" tid="{{ tid }}" title="{{ child }}"></span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<h2{{ title_attributes.addClass('node-title') }}>
|
||||
{{ label }}
|
||||
</h2>
|
||||
<div class="description">
|
||||
{{ content.field_description }}
|
||||
</div>
|
||||
</section>
|
||||
<section class="second-cartel">
|
||||
{% if col_left %}
|
||||
<div class="col-left">
|
||||
{{ link_transcript }}
|
||||
{{ link_article }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if col_right %}
|
||||
<div class="col-right">
|
||||
right colume
|
||||
</div>
|
||||
{% endif %}
|
||||
</section>
|
||||
</article>
|
||||
|
||||
@@ -11,7 +11,7 @@ _core:
|
||||
id: edlptheme_branding
|
||||
theme: edlptheme
|
||||
region: header
|
||||
weight: -1
|
||||
weight: -5
|
||||
provider: null
|
||||
plugin: system_branding_block
|
||||
settings:
|
||||
|
||||
@@ -12,7 +12,7 @@ dependencies:
|
||||
id: footer
|
||||
theme: edlptheme
|
||||
region: footer_left
|
||||
weight: 0
|
||||
weight: -4
|
||||
provider: null
|
||||
plugin: 'system_menu_block:footer'
|
||||
settings:
|
||||
|
||||
@@ -10,7 +10,7 @@ dependencies:
|
||||
id: languageswitcher
|
||||
theme: edlptheme
|
||||
region: footer_left
|
||||
weight: 0
|
||||
weight: -3
|
||||
provider: null
|
||||
plugin: 'language_block:language_interface'
|
||||
settings:
|
||||
|
||||
@@ -12,7 +12,7 @@ dependencies:
|
||||
id: mainnavigation
|
||||
theme: edlptheme
|
||||
region: header
|
||||
weight: 0
|
||||
weight: -4
|
||||
provider: null
|
||||
plugin: 'system_menu_block:main'
|
||||
settings:
|
||||
|
||||
@@ -11,6 +11,8 @@ dependencies:
|
||||
- field.field.node.enregistrement.field_langues
|
||||
- field.field.node.enregistrement.field_locuteurs
|
||||
- field.field.node.enregistrement.field_son
|
||||
- field.field.node.enregistrement.field_transcript_trad
|
||||
- field.field.node.enregistrement.field_transcript_vo
|
||||
- field.field.node.enregistrement.field_workflow
|
||||
- node.type.enregistrement
|
||||
module:
|
||||
@@ -25,6 +27,7 @@ third_party_settings:
|
||||
children:
|
||||
- group_infos
|
||||
- group_article
|
||||
- group_transcription
|
||||
- group_contenu
|
||||
parent_name: ''
|
||||
weight: 1
|
||||
@@ -40,7 +43,7 @@ third_party_settings:
|
||||
- field_son
|
||||
- field_description
|
||||
parent_name: group_onglets
|
||||
weight: 16
|
||||
weight: 19
|
||||
format_type: tab
|
||||
format_settings:
|
||||
id: ''
|
||||
@@ -58,7 +61,7 @@ third_party_settings:
|
||||
- field_collectionneurs
|
||||
- field_locuteurs
|
||||
parent_name: group_onglets
|
||||
weight: 17
|
||||
weight: 20
|
||||
format_type: tab
|
||||
format_settings:
|
||||
id: ''
|
||||
@@ -72,7 +75,7 @@ third_party_settings:
|
||||
children:
|
||||
- body
|
||||
parent_name: group_onglets
|
||||
weight: 18
|
||||
weight: 21
|
||||
format_type: tab
|
||||
format_settings:
|
||||
id: ''
|
||||
@@ -82,6 +85,21 @@ third_party_settings:
|
||||
required_fields: true
|
||||
label: Article
|
||||
region: content
|
||||
group_transcription:
|
||||
children:
|
||||
- field_transcript_vo
|
||||
- field_transcript_trad
|
||||
parent_name: group_onglets
|
||||
weight: 22
|
||||
format_type: tab
|
||||
format_settings:
|
||||
id: ''
|
||||
classes: ''
|
||||
formatter: closed
|
||||
description: ''
|
||||
required_fields: true
|
||||
label: Transcription
|
||||
region: content
|
||||
id: node.enregistrement.default
|
||||
targetEntityType: node
|
||||
bundle: enregistrement
|
||||
@@ -162,6 +180,22 @@ content:
|
||||
third_party_settings: { }
|
||||
type: file_generic
|
||||
region: content
|
||||
field_transcript_trad:
|
||||
weight: 104
|
||||
settings:
|
||||
rows: 5
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
type: text_textarea
|
||||
region: content
|
||||
field_transcript_vo:
|
||||
weight: 103
|
||||
settings:
|
||||
rows: 5
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
type: text_textarea
|
||||
region: content
|
||||
field_workflow:
|
||||
weight: 9
|
||||
settings: { }
|
||||
|
||||
@@ -4,6 +4,7 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.page.body
|
||||
- field.field.node.page.field_documents_lies
|
||||
- field.field.node.page.field_page_type
|
||||
- field.field.node.page.field_son
|
||||
- field.field.node.page.field_view_mode
|
||||
@@ -26,6 +27,7 @@ third_party_settings:
|
||||
- group_contenu
|
||||
- group_media
|
||||
- group_infos
|
||||
- group_documents
|
||||
parent_name: ''
|
||||
weight: 0
|
||||
format_type: tabs
|
||||
@@ -82,6 +84,20 @@ third_party_settings:
|
||||
required_fields: true
|
||||
label: infos
|
||||
region: content
|
||||
group_documents:
|
||||
children:
|
||||
- field_documents_lies
|
||||
parent_name: group_tabs
|
||||
weight: 5
|
||||
format_type: tab
|
||||
format_settings:
|
||||
id: ''
|
||||
classes: ''
|
||||
formatter: closed
|
||||
description: ''
|
||||
required_fields: true
|
||||
label: Documents
|
||||
region: content
|
||||
id: node.page.default
|
||||
targetEntityType: node
|
||||
bundle: page
|
||||
@@ -102,6 +118,15 @@ content:
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_documents_lies:
|
||||
weight: 124
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
type: entity_reference_autocomplete
|
||||
region: content
|
||||
field_page_type:
|
||||
weight: 3
|
||||
settings: { }
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
uuid: 1edd0ce9-4807-441a-a40e-153e25347f9d
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.article
|
||||
- field.field.node.enregistrement.body
|
||||
- field.field.node.enregistrement.field_collectionneurs
|
||||
- field.field.node.enregistrement.field_description
|
||||
- field.field.node.enregistrement.field_entrees
|
||||
- field.field.node.enregistrement.field_genres
|
||||
- field.field.node.enregistrement.field_langues
|
||||
- field.field.node.enregistrement.field_locuteurs
|
||||
- field.field.node.enregistrement.field_son
|
||||
- field.field.node.enregistrement.field_workflow
|
||||
- node.type.enregistrement
|
||||
module:
|
||||
- text
|
||||
- user
|
||||
id: node.enregistrement.article
|
||||
targetEntityType: node
|
||||
bundle: enregistrement
|
||||
mode: article
|
||||
content:
|
||||
body:
|
||||
label: hidden
|
||||
type: text_default
|
||||
weight: 0
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
region: content
|
||||
content_moderation_control:
|
||||
weight: -20
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
field_collectionneurs: true
|
||||
field_description: true
|
||||
field_entrees: true
|
||||
field_genres: true
|
||||
field_langues: true
|
||||
field_locuteurs: true
|
||||
field_son: true
|
||||
field_workflow: true
|
||||
langcode: true
|
||||
links: true
|
||||
@@ -11,6 +11,8 @@ dependencies:
|
||||
- field.field.node.enregistrement.field_langues
|
||||
- field.field.node.enregistrement.field_locuteurs
|
||||
- field.field.node.enregistrement.field_son
|
||||
- field.field.node.enregistrement.field_transcript_trad
|
||||
- field.field.node.enregistrement.field_transcript_vo
|
||||
- field.field.node.enregistrement.field_workflow
|
||||
- node.type.enregistrement
|
||||
module:
|
||||
@@ -100,6 +102,20 @@ content:
|
||||
third_party_settings: { }
|
||||
type: audiofield_audioplayer
|
||||
region: content
|
||||
field_transcript_trad:
|
||||
weight: 112
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: text_default
|
||||
region: content
|
||||
field_transcript_vo:
|
||||
weight: 111
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: text_default
|
||||
region: content
|
||||
field_workflow:
|
||||
weight: 110
|
||||
label: above
|
||||
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
uuid: cb3044a1-d373-478e-9aed-3c8ab5657c56
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.player_cartel
|
||||
- field.field.node.enregistrement.body
|
||||
- field.field.node.enregistrement.field_collectionneurs
|
||||
- field.field.node.enregistrement.field_description
|
||||
- field.field.node.enregistrement.field_entrees
|
||||
- field.field.node.enregistrement.field_genres
|
||||
- field.field.node.enregistrement.field_langues
|
||||
- field.field.node.enregistrement.field_locuteurs
|
||||
- field.field.node.enregistrement.field_son
|
||||
- field.field.node.enregistrement.field_workflow
|
||||
- node.type.enregistrement
|
||||
module:
|
||||
- text
|
||||
- user
|
||||
id: node.enregistrement.player_cartel
|
||||
targetEntityType: node
|
||||
bundle: enregistrement
|
||||
mode: player_cartel
|
||||
content:
|
||||
content_moderation_control:
|
||||
weight: -20
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_description:
|
||||
weight: 2
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: text_default
|
||||
region: content
|
||||
field_entrees:
|
||||
weight: 1
|
||||
label: hidden
|
||||
settings:
|
||||
link: false
|
||||
third_party_settings: { }
|
||||
type: entity_reference_label
|
||||
region: content
|
||||
links:
|
||||
weight: 0
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
body: true
|
||||
field_collectionneurs: true
|
||||
field_genres: true
|
||||
field_langues: true
|
||||
field_locuteurs: true
|
||||
field_son: true
|
||||
field_workflow: true
|
||||
langcode: true
|
||||
@@ -1,10 +1,18 @@
|
||||
uuid: 7c4dae8e-afc1-4082-9ef1-8b8cc7d9ddb0
|
||||
langcode: fr
|
||||
status: true
|
||||
status: false
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.teaser
|
||||
- field.field.node.enregistrement.body
|
||||
- field.field.node.enregistrement.field_collectionneurs
|
||||
- field.field.node.enregistrement.field_description
|
||||
- field.field.node.enregistrement.field_entrees
|
||||
- field.field.node.enregistrement.field_genres
|
||||
- field.field.node.enregistrement.field_langues
|
||||
- field.field.node.enregistrement.field_locuteurs
|
||||
- field.field.node.enregistrement.field_son
|
||||
- field.field.node.enregistrement.field_workflow
|
||||
- node.type.enregistrement
|
||||
module:
|
||||
- text
|
||||
@@ -26,4 +34,12 @@ content:
|
||||
weight: 100
|
||||
region: content
|
||||
hidden:
|
||||
field_collectionneurs: true
|
||||
field_description: true
|
||||
field_entrees: true
|
||||
field_genres: true
|
||||
field_langues: true
|
||||
field_locuteurs: true
|
||||
field_son: true
|
||||
field_workflow: true
|
||||
langcode: true
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
uuid: d432ab3c-b97c-4bc5-84e5-87f83fae4a53
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.transcript
|
||||
- field.field.node.enregistrement.body
|
||||
- field.field.node.enregistrement.field_collectionneurs
|
||||
- field.field.node.enregistrement.field_description
|
||||
- field.field.node.enregistrement.field_entrees
|
||||
- field.field.node.enregistrement.field_genres
|
||||
- field.field.node.enregistrement.field_langues
|
||||
- field.field.node.enregistrement.field_locuteurs
|
||||
- field.field.node.enregistrement.field_son
|
||||
- field.field.node.enregistrement.field_transcript_trad
|
||||
- field.field.node.enregistrement.field_transcript_vo
|
||||
- field.field.node.enregistrement.field_workflow
|
||||
- node.type.enregistrement
|
||||
module:
|
||||
- text
|
||||
- user
|
||||
id: node.enregistrement.transcript
|
||||
targetEntityType: node
|
||||
bundle: enregistrement
|
||||
mode: transcript
|
||||
content:
|
||||
content_moderation_control:
|
||||
weight: -20
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_transcript_trad:
|
||||
type: text_default
|
||||
weight: 1
|
||||
region: content
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_transcript_vo:
|
||||
type: text_default
|
||||
weight: 0
|
||||
region: content
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
body: true
|
||||
field_collectionneurs: true
|
||||
field_description: true
|
||||
field_entrees: true
|
||||
field_genres: true
|
||||
field_langues: true
|
||||
field_locuteurs: true
|
||||
field_son: true
|
||||
field_workflow: true
|
||||
langcode: true
|
||||
links: true
|
||||
@@ -4,6 +4,7 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.page.body
|
||||
- field.field.node.page.field_documents_lies
|
||||
- field.field.node.page.field_page_type
|
||||
- field.field.node.page.field_son
|
||||
- field.field.node.page.field_view_mode
|
||||
@@ -27,6 +28,14 @@ content:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
region: content
|
||||
field_documents_lies:
|
||||
weight: 6
|
||||
label: above
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
type: entity_reference_label
|
||||
region: content
|
||||
field_son:
|
||||
weight: 2
|
||||
label: above
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
uuid: 1c4e5c3f-6a79-4d5d-9bd8-58573b08d4de
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
id: node.article
|
||||
label: 'Article (Document)'
|
||||
targetEntityType: node
|
||||
cache: true
|
||||
@@ -5,6 +5,6 @@ dependencies:
|
||||
module:
|
||||
- node
|
||||
id: node.image_1_columns
|
||||
label: 'Image 1 Column'
|
||||
label: 'Image 1 Column (Productions)'
|
||||
targetEntityType: node
|
||||
cache: true
|
||||
|
||||
@@ -5,6 +5,6 @@ dependencies:
|
||||
module:
|
||||
- node
|
||||
id: node.image_2_columns
|
||||
label: 'Image 2 Columns'
|
||||
label: 'Image 2 Columns (Productions)'
|
||||
targetEntityType: node
|
||||
cache: true
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
uuid: eb43e9d0-510c-4648-99da-f2a32ef89534
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
id: node.player_cartel
|
||||
label: 'Player Cartel (Document)'
|
||||
targetEntityType: node
|
||||
cache: true
|
||||
@@ -5,6 +5,6 @@ dependencies:
|
||||
module:
|
||||
- node
|
||||
id: node.text_1_column
|
||||
label: 'Text 1 Column'
|
||||
label: 'Text 1 Column (Productions)'
|
||||
targetEntityType: node
|
||||
cache: true
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
uuid: accb01bc-62da-48dd-96e1-eff6785d64c2
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
id: node.transcript
|
||||
label: 'Transcription (Document)'
|
||||
targetEntityType: node
|
||||
cache: true
|
||||
@@ -0,0 +1,21 @@
|
||||
uuid: a0d16b97-0f3d-4ec3-8c7c-697e3a8790ff
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_transcript_trad
|
||||
- node.type.enregistrement
|
||||
module:
|
||||
- text
|
||||
id: node.enregistrement.field_transcript_trad
|
||||
field_name: field_transcript_trad
|
||||
entity_type: node
|
||||
bundle: enregistrement
|
||||
label: 'Transcription (Traduction)'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: text_long
|
||||
@@ -0,0 +1,21 @@
|
||||
uuid: 7ad570dd-bf5c-4b8f-bf72-86f0d45e6c6e
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_transcript_vo
|
||||
- node.type.enregistrement
|
||||
module:
|
||||
- text
|
||||
id: node.enregistrement.field_transcript_vo
|
||||
field_name: field_transcript_vo
|
||||
entity_type: node
|
||||
bundle: enregistrement
|
||||
label: 'Transcription (Version Originale)'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: text_long
|
||||
@@ -0,0 +1,28 @@
|
||||
uuid: 7addaf60-cafd-4038-aed7-6928cf8fdeb2
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_documents_lies
|
||||
- node.type.enregistrement
|
||||
- node.type.page
|
||||
id: node.page.field_documents_lies
|
||||
field_name: field_documents_lies
|
||||
entity_type: node
|
||||
bundle: page
|
||||
label: 'Documents liés'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:node'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
enregistrement: enregistrement
|
||||
sort:
|
||||
field: _none
|
||||
auto_create: false
|
||||
auto_create_bundle: ''
|
||||
field_type: entity_reference
|
||||
@@ -0,0 +1,19 @@
|
||||
uuid: 15d0a0a8-fb4d-4bec-a7ee-ecc7d423d83e
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
id: node.field_documents_lies
|
||||
field_name: field_documents_lies
|
||||
entity_type: node
|
||||
type: entity_reference
|
||||
settings:
|
||||
target_type: node
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: -1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,19 @@
|
||||
uuid: ac3002fe-9322-4626-a643-d520a1fdd7ce
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
- text
|
||||
id: node.field_transcript_trad
|
||||
field_name: field_transcript_trad
|
||||
entity_type: node
|
||||
type: text_long
|
||||
settings: { }
|
||||
module: text
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,19 @@
|
||||
uuid: 4f733f19-fe87-4606-a401-a4c9a4a0dca5
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
- text
|
||||
id: node.field_transcript_vo
|
||||
field_name: field_transcript_vo
|
||||
entity_type: node
|
||||
type: text_long
|
||||
settings: { }
|
||||
module: text
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
Reference in New Issue
Block a user