feat: news messages to be displayed on teamers' dashboards
This commit is contained in:
@@ -11,6 +11,14 @@
|
||||
{% if not teamer.photo %}
|
||||
{% include '_partials/_toast.html.twig' with { level: 'info', messages: ['Bitte lade ein Foto von dir hoch'] } %}
|
||||
{% endif %}
|
||||
{% if news is not null %}
|
||||
<div class="{{ html_classes('p-4 mb-4 flex items-start space-x-2 text-gray-100 rounded-md', { 'bg-blue-600': news.status == 1, 'bg-red-600': news.status == 2 }) }}">
|
||||
{{ icon('alert', 'w-5 h-5 flex-shrink-0') }}
|
||||
<div class="leading-relaxed text-base">
|
||||
{{ news.message | nl2br }}
|
||||
</div>
|
||||
</div>
|
||||
{% 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">
|
||||
|
||||
Reference in New Issue
Block a user