mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-28 17:44:58 +00:00
FIX [render] use isAbsent method to render user as absent or not + place homepage msg above searchbar
This commit is contained in:
@@ -69,6 +69,11 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="col-8 main_search">
|
||||
{% if app.user.isAbsent %}
|
||||
<div class="row mb-5">
|
||||
<p class="alert alert-warning" role="alert">{{'absence.You are marked as being absent'|trans }}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
<h2>{{ 'Search'|trans }}</h2>
|
||||
|
||||
<form action="{{ path('chill_main_search') }}" method="get">
|
||||
|
Reference in New Issue
Block a user