mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
FEATURE [absence][render] add absence tag to renderbox and renderstring
This commit is contained in:
@@ -6,4 +6,9 @@
|
||||
{%- if opts['main_scope'] and user.mainScope is not null %}
|
||||
<span class="main-scope">({{ user.mainScope.name|localize_translatable_string }})</span>
|
||||
{%- endif -%}
|
||||
{%- if opts['absence'] and user.absenceStart is not null %}
|
||||
{%- if date(user.absenceStart) < date() %}
|
||||
<span class="user-absence">({{ 'absence.Absent'|trans }})</span>
|
||||
{%- endif %}
|
||||
{%- endif -%}
|
||||
</span>
|
||||
|
Reference in New Issue
Block a user