FEATURE [banner][render] display the A icon within accourse banner if user is absent instead of string

This commit is contained in:
2023-01-27 12:03:12 +01:00
parent 4dd81da1ef
commit d46304e229
3 changed files with 7 additions and 5 deletions

View File

@@ -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;
}