FIX remove some whitespaces or empty lines + add btn in absence message homepage (still commented out)

This commit is contained in:
Julie Lenaerts 2023-01-27 12:04:11 +01:00
parent d46304e229
commit fa8a2c5cc5
3 changed files with 2 additions and 2 deletions

View File

@ -64,6 +64,6 @@ class AbsenceController extends AbstractController
$em->flush();
return $this->redirect($this->generateUrl('chill_main_user_absence_index'));
}
}

View File

@ -12,7 +12,6 @@
<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>

View File

@ -72,6 +72,7 @@
{% if app.user.isAbsent %}
<div class="row mb-5">
<p class="alert alert-warning" role="alert">{{'absence.You are marked as being absent'|trans }}</p>
{# <a class="btn btn-edit" title="Modifier" href="{{ path('chill_main_user_absence_index') }}"></a>#}
</div>
{% endif %}
<h2>{{ 'Search'|trans }}</h2>