diff --git a/src/Controller/FediPlanController.php b/src/Controller/FediPlanController.php index cba1ca4..188b50a 100644 --- a/src/Controller/FediPlanController.php +++ b/src/Controller/FediPlanController.php @@ -274,7 +274,8 @@ class FediPlanController extends AbstractController )] public function scheduled(): Response { - return $this->render("fediplan/scheduled.html.twig"); + $user = $this->getUser(); + return $this->render("fediplan/scheduled.html.twig", [ 'instance' => $user->getInstance(),]); } diff --git a/templates/fediplan/schedule.html.twig b/templates/fediplan/schedule.html.twig index 1ec0690..cfb2307 100644 --- a/templates/fediplan/schedule.html.twig +++ b/templates/fediplan/schedule.html.twig @@ -5,7 +5,7 @@ {% block content %} {% set instanceConfiguration = app.session.get("instance").getConfiguration() %} {% include 'nav.html.twig' %} -