diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index b59c01a..536b949 100755 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -15,7 +15,6 @@ declare(strict_types=1); use Modules\Organization\Models\NullDepartment; $departments = $this->data['departments'] ?? new NullDepartment(); -$isNew = $departments->id === 0; echo $this->data['nav']->render(); ?> diff --git a/Theme/Backend/department-view.tpl.php b/Theme/Backend/department-view.tpl.php index 8e92955..85a9fa8 100644 --- a/Theme/Backend/department-view.tpl.php +++ b/Theme/Backend/department-view.tpl.php @@ -195,7 +195,7 @@ echo $this->data['nav']->render(); id; ?> - printHtml($value->project->name); ?> + printHtml($value->name); ?> getHtml('Empty', '0', '0'); ?> diff --git a/Theme/Backend/risk-view.tpl.php b/Theme/Backend/risk-view.tpl.php index f0df42b..9034570 100644 --- a/Theme/Backend/risk-view.tpl.php +++ b/Theme/Backend/risk-view.tpl.php @@ -71,7 +71,7 @@ echo $this->data['nav']->render(); ?>