diff --git a/sites/all/modules/figli/edlp_home/includes/edlp_home.inc b/sites/all/modules/figli/edlp_home/includes/edlp_home.inc
index a740c6b19..80f60ed4c 100644
--- a/sites/all/modules/figli/edlp_home/includes/edlp_home.inc
+++ b/sites/all/modules/figli/edlp_home/includes/edlp_home.inc
@@ -93,12 +93,19 @@ function template_preprocess_edlp_home(&$vars){
// );
// render the next events of agenda as list
- $agenda = array (
- '#theme' => 'item_list',
- '#items' => [],
+ $agenda = array(
+ '#type'=>"container",
+ 'title'=>array(
+ '#markup'=>"
".t("Agenda")."
",
+ ),
+ 'list'=> array(
+ '#theme' => 'item_list',
+ '#items' => [],
+ ),
);
+
foreach($vars['agenda_items'] as $node){
- $agenda['#items'][] = $view_builder->view($node, 'teaser');
+ $agenda['list']['#items'][] = $view_builder->view($node, 'teaser');
}
$vars['agenda'] = render($agenda);
diff --git a/sites/all/themes/custom/edlptheme/assets/dist/scripts/main.min.js b/sites/all/themes/custom/edlptheme/assets/dist/scripts/main.min.js
index c09a65cc8..d6ddde2de 100644
--- a/sites/all/themes/custom/edlptheme/assets/dist/scripts/main.min.js
+++ b/sites/all/themes/custom/edlptheme/assets/dist/scripts/main.min.js
@@ -805,7 +805,7 @@
// hiding
this.hideTimer = false;
- this.hideTimeMS = 10000;
+ this.hideTimeMS = 15000;
// history
this.currentHistoricIndex = null;
diff --git a/sites/all/themes/custom/edlptheme/assets/scripts/main.js b/sites/all/themes/custom/edlptheme/assets/scripts/main.js
index c09a65cc8..d6ddde2de 100644
--- a/sites/all/themes/custom/edlptheme/assets/scripts/main.js
+++ b/sites/all/themes/custom/edlptheme/assets/scripts/main.js
@@ -805,7 +805,7 @@
// hiding
this.hideTimer = false;
- this.hideTimeMS = 10000;
+ this.hideTimeMS = 15000;
// history
this.currentHistoricIndex = null;
diff --git a/sites/all/themes/custom/edlptheme/edlptheme.theme b/sites/all/themes/custom/edlptheme/edlptheme.theme
index 718f45dde..e0b954260 100644
--- a/sites/all/themes/custom/edlptheme/edlptheme.theme
+++ b/sites/all/themes/custom/edlptheme/edlptheme.theme
@@ -202,7 +202,7 @@ function edlptheme_preprocess_node__enregistrement__player_cartel(&$vars){
'data-drupal-link-system-path' => $url->getInternalPath()
)
));
- $vars['link_transcript'] = Link::fromTextAndUrl(t("Lire le text."), $url);
+ $vars['link_transcript'] = Link::fromTextAndUrl(t("Read the text."), $url);
}
// if article not empty
@@ -217,7 +217,7 @@ function edlptheme_preprocess_node__enregistrement__player_cartel(&$vars){
'data-drupal-link-system-path' => $url->getInternalPath()
)
));
- $vars['link_article'] = Link::fromTextAndUrl(t("Lire l'article."), $url);
+ $vars['link_article'] = Link::fromTextAndUrl(t("Read the article."), $url);
}
// relations (defined in edlp_corpus.module)