diff --git a/app/class/Controllerhome.php b/app/class/Controllerhome.php index 63f5a84..d0cbde5 100644 --- a/app/class/Controllerhome.php +++ b/app/class/Controllerhome.php @@ -95,6 +95,7 @@ public function desktop() $vars['searchopt'] = $deepsearch['searchopt']; $vars['display'] = $display; $vars['urlchecker'] = Config::urlchecker(); + $vars['hiddencolumncount'] = count(User::HOME_COLUMNS) - count($this->user->columns()); if ($display === 'graph') { $vars['layout'] = $_GET['layout'] ?? 'cose-bilkent'; diff --git a/app/view/templates/home.php b/app/view/templates/home.php index 2dad795..27a94d0 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -323,7 +323,15 @@ class="redirection" description('short') ?> - linktolink($item->linkto('array')) ?> + + linkto())) > ($hiddencolumncount - 5 )) : ?> + linkto()) ?>"> + + + + linktolink($item->linkto('array')) ?> + +