diff --git a/src/Controller/Teamer/IndexController.php b/src/Controller/Teamer/IndexController.php index 667b5f9..1e6898b 100644 --- a/src/Controller/Teamer/IndexController.php +++ b/src/Controller/Teamer/IndexController.php @@ -60,6 +60,7 @@ class IndexController extends AbstractController $dispositionDocuments = $this->processDocuments($upcomingDispositions); return $this->render('teamer/index.html.twig', [ + 'teamer' => $teamer, 'matchingAssignments' => $matchingAssignments, 'recentFeedback' => $recentFeedback, 'pendingApplications' => $pendingApplications, diff --git a/templates/teamer/index.html.twig b/templates/teamer/index.html.twig index 4316320..b7484eb 100644 --- a/templates/teamer/index.html.twig +++ b/templates/teamer/index.html.twig @@ -8,6 +8,9 @@ Dashboard + {% if not teamer.photo %} + {% include '_partials/_toast.html.twig' with { level: 'info', messages: ['Bitte lade ein Foto von dir hoch'] } %} + {% endif %}