home agenda title is a link
This commit is contained in:
@@ -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'=>"<h3>".t("Agenda")."</h3>",
|
||||
'#prefix'=> '<h3>',
|
||||
'#title' => t("Agenda"),
|
||||
'#suffix' => '</h3>',
|
||||
'#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',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="col small-col-12 med-col-12 large-col-6">
|
||||
<div class="col small-col-12 med-col-12 large-col-8">
|
||||
<div class="wrapper studio-ui-wrapper">
|
||||
<div id="studio-ui">
|
||||
{{ chutier_ui }}
|
||||
|
||||
Reference in New Issue
Block a user