diff --git a/src/Module/Admin/View/Map/ShowSystem/ShowSystem.php b/src/Module/Admin/View/Map/ShowSystem/ShowSystem.php index 5495a8223..166fd92f8 100644 --- a/src/Module/Admin/View/Map/ShowSystem/ShowSystem.php +++ b/src/Module/Admin/View/Map/ShowSystem/ShowSystem.php @@ -56,7 +56,7 @@ public function handle(GameControllerInterface $game): void sprintf(_('System %s editieren'), $system->getName()) ); $game->setPageTitle(_('Sektion anzeigen')); - $game->setTemplateVar('SYSTEM_ID', $system->getId()); + $game->setTemplateVar('SYSTEM', $system); $game->setTemplateVar('HEAD_ROW', range(1, $system->getMaxX())); $game->setTemplateVar('MAP_FIELDS', $fields); $game->setTemplateVar('PREVIOUS', $this->starSystemRepository->getPreviousStarSystem($system)); diff --git a/src/html/admin/mapeditor_system.twig b/src/html/admin/mapeditor_system.twig index cbe766a3a..1a7d95480 100644 --- a/src/html/admin/mapeditor_system.twig +++ b/src/html/admin/mapeditor_system.twig @@ -22,7 +22,21 @@ {% endfor %} -