diff --git a/Theme/Backend/organigram.tpl.php b/Theme/Backend/organigram.tpl.php
index 3250ab9..8d7ed2d 100644
--- a/Theme/Backend/organigram.tpl.php
+++ b/Theme/Backend/organigram.tpl.php
@@ -61,7 +61,7 @@ $unitRoot = $unitTree[null][0]['children'];
}
?>
-
+
- = $posEle['obj']->getName(); ?>
@@ -71,7 +71,7 @@ $unitRoot = $unitTree[null][0]['children'];
$parentPos = $posEle['obj'];
do {
- ++$toClosePos;
+
$parentPos = $parentPos->getParent();
$parentPosId = $parentPos->getId();
} while ($parentPosId !== \array_keys($posTree[$depId])[0]
@@ -83,7 +83,7 @@ $unitRoot = $unitTree[null][0]['children'];
$posEle = [];
} // if no more children go back to parrent?>
- = \str_repeat('
', $toClosePos); ?>
+ = \str_repeat('
', $toClosePos*2); ?>
-