feat: reminder to upload profile photo
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user