enregistrement transcription interface is ok

This commit is contained in:
2018-04-15 00:00:40 +02:00
parent 6d88ca7c8d
commit ea435b7517
9 changed files with 196 additions and 20 deletions
@@ -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'];
}
}
/**