mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
FEATURE [banner][render] display the A icon within accourse banner if user is absent instead of string
This commit is contained in:
@@ -71,10 +71,6 @@ class UserRender implements ChillEntityRenderInterface
|
||||
|
||||
$current_date = new DateTimeImmutable();
|
||||
|
||||
if ($entity->isAbsent() && $opts['main_scope']) {
|
||||
$str .= ' (' . $this->translator->trans('absence.Absent') . ')';
|
||||
}
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user