mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
FEATURE: [homepage][absence] display message to let user know they are still marked as absent
This commit is contained in:
parent
5bbe5af124
commit
6c1108b8aa
@ -1,15 +1,20 @@
|
|||||||
<div class="col-10 mt-5">
|
<div class="col-10 mt-5">
|
||||||
|
|
||||||
{# vue component #}
|
{# vue component #}
|
||||||
|
{% if app.user.absenceStart is not null and date(app.user.absenceStart) < date() %}
|
||||||
|
<p class="alert alert-succes flash_message" style="text-align: center;">{{'absence.You are marked as being absent'|trans }}</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div id="homepage_widget"></div>
|
<div id="homepage_widget"></div>
|
||||||
|
|
||||||
{% include '@ChillMain/Homepage/fast_actions.html.twig' %}
|
{% include '@ChillMain/Homepage/fast_actions.html.twig' %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{% block css %}
|
{% block css %}
|
||||||
{{ encore_entry_link_tags('page_homepage_widget') }}
|
{{ encore_entry_link_tags('page_homepage_widget') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block js %}
|
{% block js %}
|
||||||
{{ encore_entry_script_tags('page_homepage_widget') }}
|
{{ encore_entry_script_tags('page_homepage_widget') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -581,3 +581,4 @@ absence:
|
|||||||
Set absence date: Indiquer date d'absence
|
Set absence date: Indiquer date d'absence
|
||||||
Absence start: Absence à partir de
|
Absence start: Absence à partir de
|
||||||
Absent: Absent
|
Absent: Absent
|
||||||
|
You are marked as being absent: Vous êtes marquer comme absent.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user