feat: reminder to upload profile photo

This commit is contained in:
Björn Fromme
2024-04-04 11:11:04 +02:00
parent 47474cddce
commit 4d1ea7aad7
3 changed files with 4 additions and 1 deletions
@@ -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,
+3
View File
@@ -8,6 +8,9 @@
Dashboard
</h1>
</div>
{% if not teamer.photo %}
{% include '_partials/_toast.html.twig' with { level: 'info', messages: ['Bitte lade ein Foto von dir hoch'] } %}
{% endif %}
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
<h2 class="font-bold text-lg pb-2">
-1
View File
@@ -146,7 +146,6 @@
</div>
<div class="pb-8" {{ stimulus_target('tabs', 'tab') }}>
{% if teamer.photo %}
<div class="pb-8">
<h2 class="text-xl font-bold pb-2">