diff --git a/Theme/Backend/equipment-view.tpl.php b/Theme/Backend/equipment-view.tpl.php index 05ec193..8b837bd 100755 --- a/Theme/Backend/equipment-view.tpl.php +++ b/Theme/Backend/equipment-view.tpl.php @@ -28,6 +28,8 @@ $equipment = $this->data['equipment'] ?? new NullEquipment(); $equipmentImage = $this->data['equipmentImage'] ?? new NullMedia(); $equipmentTypes = $this->data['types'] ?? []; +$isNew = $equipment->id === 0; + /** * @var \phpOMS\Views\View $this */ @@ -57,16 +59,6 @@ echo $this->data['nav']->render(); -