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">
|
||||
|
||||
|
||||
{# 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>
|
||||
|
||||
|
||||
{% include '@ChillMain/Homepage/fast_actions.html.twig' %}
|
||||
</div>
|
||||
|
||||
|
||||
{% block css %}
|
||||
{{ encore_entry_link_tags('page_homepage_widget') }}
|
||||
{% endblock %}
|
||||
|
||||
{% block js %}
|
||||
{{ encore_entry_script_tags('page_homepage_widget') }}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
@ -581,3 +581,4 @@ absence:
|
||||
Set absence date: Indiquer date d'absence
|
||||
Absence start: Absence à partir de
|
||||
Absent: Absent
|
||||
You are marked as being absent: Vous êtes marquer comme absent.
|
||||
|
Loading…
x
Reference in New Issue
Block a user