From 747562645dbb77e1923ccd2a5b88de35bbffafd8 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 23 Dec 2017 10:06:11 +0100 Subject: [PATCH] Remove footer Was bad template and view layout/logic --- Theme/Backend/department-list.tpl.php | 2 +- Theme/Backend/position-list.tpl.php | 2 +- Theme/Backend/unit-list.tpl.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index 1f822d1..322693f 100644 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -36,7 +36,7 @@ echo $this->getData('nav')->render(); ?> getHtml('Parent') ?> getHtml('Unit') ?> - render(); ?> + getData('list:elements') as $key => $value) : $c++; $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/department/profile?{?}&id=' . $value->getId()); ?> diff --git a/Theme/Backend/position-list.tpl.php b/Theme/Backend/position-list.tpl.php index 65b63b0..c65c1ca 100644 --- a/Theme/Backend/position-list.tpl.php +++ b/Theme/Backend/position-list.tpl.php @@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?> getHtml('Parent') ?> getHtml('Department') ?> - render(); ?> + $value) : $count++; $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/position/profile?{?}&id=' . $value->getId()); ?> diff --git a/Theme/Backend/unit-list.tpl.php b/Theme/Backend/unit-list.tpl.php index d433f1c..dec80a4 100644 --- a/Theme/Backend/unit-list.tpl.php +++ b/Theme/Backend/unit-list.tpl.php @@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?> getHtml('Name') ?> getHtml('Parent') ?> - render(); ?> + getData('list:elements') as $key => $value) : $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/unit/profile?{?}&id=' . $value->getId()); ?>