added see all to home agenda block
This commit is contained in:
@@ -118,6 +118,19 @@ function template_preprocess_edlp_home(&$vars){
|
|||||||
'#theme' => 'item_list',
|
'#theme' => 'item_list',
|
||||||
'#items' => [],
|
'#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){
|
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;
|
margin:0; padding:0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nav{
|
||||||
|
a{
|
||||||
|
font-size: 0.756em;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user