From cd6ac4656a5ad1aa0b1157e3283ea8f23317fb40 Mon Sep 17 00:00:00 2001 From: Ioannis Igoumenos Date: Mon, 11 Apr 2022 19:08:49 +0300 Subject: [PATCH] Top links on the index view --- app/templates/Standard/index.php | 77 +++++++++++++++++++------------- 1 file changed, 46 insertions(+), 31 deletions(-) diff --git a/app/templates/Standard/index.php b/app/templates/Standard/index.php index 9a10ee5ca..316bea77a 100644 --- a/app/templates/Standard/index.php +++ b/app/templates/Standard/index.php @@ -91,38 +91,53 @@ function _column_key($modelsName, $c, $tz=null) {

- - - + + $action_args['vv_actions'][] = [ + 'order' => $this->Menu->getMenuOrder($t['icon']), + 'icon' => $this->Menu->getMenuIcon($t['icon']), + 'url' => $this->Url->build($t['link']), + 'label' => $t['label'], + ]; + } + } + } + + if(!empty($action_args['vv_actions'])) { + print ''; + } + ?>