enregistrement transcription interface is ok
This commit is contained in:
@@ -36,6 +36,11 @@ function edlptheme_preprocess_node(&$vars){
|
||||
$vars['link_attributes'] = new Attribute(array(
|
||||
'data-drupal-link-system-path' => $system_path=='' ? '<front>' : $system_path
|
||||
));
|
||||
|
||||
if($node->bundle() == 'enregistrement' && in_array($vars['view_mode'], ['article','transcript'])){
|
||||
$vars['page'] = true;
|
||||
$vars['sur_title'] = $vars['view_mode'];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user