titre de la page dans le widget info group (ref #249)

This commit is contained in:
afornerot 2021-04-01 15:25:00 +02:00
parent 261129755d
commit 743ffa7910
1 changed files with 1 additions and 1 deletions

View File

@ -1526,7 +1526,7 @@ class PagewidgetController extends Controller
if($this->usage=="group") { if($this->usage=="group") {
$groupentity=$this->em->getRepository("CadolesCoreBundle:Group")->find($this->group); $groupentity=$this->em->getRepository("CadolesCoreBundle:Group")->find($this->group);
if($groupentity) { if($groupentity) {
$title=$groupentity->getLabel(); $title=$this->entity->getPage()->getName();
$id=$groupentity->getId(); $id=$groupentity->getId();
if($groupentity->getDescription()) if($groupentity->getDescription())
$description="<strong>Description</strong><br>".$groupentity->getDescription(); $description="<strong>Description</strong><br>".$groupentity->getDescription();