correction meetup links and homepage slider

This commit is contained in:
Valentin
2024-04-26 19:58:44 +02:00
parent 05ff1c3c74
commit d98506a9c5
5 changed files with 90 additions and 43 deletions

View File

@@ -86,7 +86,9 @@ function erabletheme_theme_suggestions_views_view_alter(array &$suggestions, arr
$view = $variables['view'];
switch ($view->id()) {
case 'actus':
$suggestions[] = 'views_view__page_actus';
if ($view->getDisplay()->display['id'] !== 'block_1') {
$suggestions[] = 'views_view__page_actus';
}
break;
case 'gourvernance': // attention faute de frappe dans l'id dans drupal
$suggestions[] = 'views_view__content_gouvernance';