added see all to home agenda block

This commit is contained in:
2018-11-26 12:12:39 +01:00
parent 60cf599d65
commit 3aa6de7439
3 changed files with 20 additions and 1 deletions
@@ -118,6 +118,19 @@ function template_preprocess_edlp_home(&$vars){
'#theme' => 'item_list',
'#items' => [],
),
'seeall'=>array(
'#type' => 'link',
'#prefix'=> '<nav>',
'#title' => t("See all"),
'#suffix'=> '</nav>',
'#url' => $agenda_url,
'#options'=>array(
'attributes' => array(
'data-drupal-link-system-path' => $agenda_url->getInternalPath(),
'class' => array('ajax-link'),
)
)
),
);
foreach($vars['agenda_items'] as $node){
File diff suppressed because one or more lines are too long
@@ -1667,6 +1667,12 @@ body.path-agenda main .col{
margin:0; padding:0;
list-style: none;
}
nav{
a{
font-size: 0.756em;
}
}
}