mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
FEATURE [styling][absence] give styling
This commit is contained in:
parent
6c1108b8aa
commit
de9d53936f
@ -106,7 +106,7 @@ section.chill-entity {
|
||||
// used for comment-embeddable
|
||||
&.entity-comment-embeddable {
|
||||
width: 100%;
|
||||
|
||||
|
||||
/* already defined !!
|
||||
div.metadata {
|
||||
font-size: smaller;
|
||||
|
@ -8,7 +8,11 @@
|
||||
{%- endif -%}
|
||||
{%- if opts['absence'] and user.absenceStart is not null %}
|
||||
{%- if date(user.absenceStart) < date() %}
|
||||
<span class="user-absence">({{ 'absence.Absent'|trans }})</span>
|
||||
<span class="fa-stack fa-holder" title="{{ 'absence.Absent'|trans }}">
|
||||
<i class="fa fa-circle fa-stack-1x text-danger"></i>
|
||||
<i class="fa fa-stack-1x text-white">A</i>
|
||||
</span>
|
||||
|
||||
{%- endif %}
|
||||
{%- endif -%}
|
||||
</span>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
{# 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>
|
||||
<p class="alert alert-warning" role="alert">{{'absence.You are marked as being absent'|trans }}</p>
|
||||
{% endif %}
|
||||
|
||||
<div id="homepage_widget"></div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user