feat: reminder to upload profile photo
This commit is contained in:
@@ -60,6 +60,7 @@ class IndexController extends AbstractController
|
|||||||
$dispositionDocuments = $this->processDocuments($upcomingDispositions);
|
$dispositionDocuments = $this->processDocuments($upcomingDispositions);
|
||||||
|
|
||||||
return $this->render('teamer/index.html.twig', [
|
return $this->render('teamer/index.html.twig', [
|
||||||
|
'teamer' => $teamer,
|
||||||
'matchingAssignments' => $matchingAssignments,
|
'matchingAssignments' => $matchingAssignments,
|
||||||
'recentFeedback' => $recentFeedback,
|
'recentFeedback' => $recentFeedback,
|
||||||
'pendingApplications' => $pendingApplications,
|
'pendingApplications' => $pendingApplications,
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
Dashboard
|
Dashboard
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</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="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">
|
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
|
||||||
<h2 class="font-bold text-lg pb-2">
|
<h2 class="font-bold text-lg pb-2">
|
||||||
|
|||||||
@@ -146,7 +146,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pb-8" {{ stimulus_target('tabs', 'tab') }}>
|
<div class="pb-8" {{ stimulus_target('tabs', 'tab') }}>
|
||||||
|
|
||||||
{% if teamer.photo %}
|
{% if teamer.photo %}
|
||||||
<div class="pb-8">
|
<div class="pb-8">
|
||||||
<h2 class="text-xl font-bold pb-2">
|
<h2 class="text-xl font-bold pb-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user