From 9b995a68c64122c09b5891113863e640e3398dd9 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 | 76 +++++++++++++++++++------------- 1 file changed, 45 insertions(+), 31 deletions(-) diff --git a/app/templates/Standard/index.php b/app/templates/Standard/index.php index 9a10ee5ca..751378bfc 100644 --- a/app/templates/Standard/index.php +++ b/app/templates/Standard/index.php @@ -91,38 +91,52 @@ 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 ''; + } + ?>