X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/2b4888e4a7a40ec60ec9c876c54d4eab6dbb4c32..9c56c2945cf03dc3d46c67831a5a04b9805b41e2:/Controller/AbstractController.php?ds=sidebyside diff --git a/Controller/AbstractController.php b/Controller/AbstractController.php index f06178d..fe07f11 100644 --- a/Controller/AbstractController.php +++ b/Controller/AbstractController.php @@ -376,7 +376,7 @@ abstract class AbstractController extends BaseAbstractController implements Serv //With user 'user' => $this->checker->isGranted('ROLE_ADMIN'), //Set user choices - 'user_choices' => $this->doctrine->getRepository(User::class)->findIndexByGroupPseudonym(), + 'user_choices' => $this->doctrine->getRepository(User::class)->findChoicesAsArray(), //Set default user to current 'user_default' => $this->getUser()->getId(), //Set to session slot or evening by default @@ -487,6 +487,7 @@ abstract class AbstractController extends BaseAbstractController implements Serv //Append facebook image texts $parameters['facebook']['texts'] += [ $parameters['title'] => [ + 'font' => 'irishgrover', 'align' => 'left' ]/*XXX: same problem as url, too long :'(, $parameters['description'] => [