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 d7ee7eb2b..5a677b543 100644 --- a/sites/all/modules/figli/edlp_home/includes/edlp_home.inc +++ b/sites/all/modules/figli/edlp_home/includes/edlp_home.inc @@ -94,10 +94,21 @@ function template_preprocess_edlp_home(&$vars){ // ); // render the next events of agenda as list + $agenda_url = Url::fromRoute('edlp_agenda.agenda'); $agenda = array( '#type'=>"container", 'title'=>array( - '#markup'=>"

".t("Agenda")."

", + '#prefix'=> '

', + '#title' => t("Agenda"), + '#suffix' => '

', + '#type' => 'link', + '#url' => $agenda_url, + '#options'=>array( + 'attributes' => array( + 'data-drupal-link-system-path' => $agenda_url->getInternalPath(), + 'class' => array('ajax-link'), + ) + ) ), 'list'=> array( '#theme' => 'item_list', diff --git a/sites/all/themes/custom/edlptheme/templates/content/edlp-studio-ui.html.twig b/sites/all/themes/custom/edlptheme/templates/content/edlp-studio-ui.html.twig index d4b6da61b..a887191a2 100644 --- a/sites/all/themes/custom/edlptheme/templates/content/edlp-studio-ui.html.twig +++ b/sites/all/themes/custom/edlptheme/templates/content/edlp-studio-ui.html.twig @@ -1,4 +1,4 @@ -
+
{{ chutier_ui }}