mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-09 16:24:59 +00:00
FIX [render] use isAbsent method to render user as absent or not + place homepage msg above searchbar
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
<div class="col-10 mt-5">
|
||||
|
||||
{# vue component #}
|
||||
{% if app.user.absenceStart is not null and date(app.user.absenceStart) < date() %}
|
||||
<p class="alert alert-warning" role="alert">{{'absence.You are marked as being absent'|trans }}</p>
|
||||
{% endif %}
|
||||
|
||||
<div id="homepage_widget"></div>
|
||||
|
||||
{% include '@ChillMain/Homepage/fast_actions.html.twig' %}
|
||||
|
Reference in New Issue
Block a user