diff --git a/src/Entity/Apps.php b/src/Entity/Apps.php index 9431f35..1492d3b 100644 --- a/src/Entity/Apps.php +++ b/src/Entity/Apps.php @@ -52,6 +52,9 @@ class Apps #[ORM\ManyToMany(targetEntity: Organizations::class, inversedBy: 'apps')] private Collection $organization; + #[ORM\Column(length: 255, nullable: true)] + private ?string $logoMiniUrl = null; + public function __construct() { $this->userOrganizatonApps = new ArrayCollection(); @@ -199,4 +202,16 @@ class Apps return $this; } + + public function getLogoMiniUrl(): ?string + { + return $this->logoMiniUrl; + } + + public function setLogoMiniUrl(?string $logoMiniUrl): static + { + $this->logoMiniUrl = $logoMiniUrl; + + return $this; + } } diff --git a/templates/application/InformationCard.html.twig b/templates/application/InformationCard.html.twig index 627a95e..02e8eae 100644 --- a/templates/application/InformationCard.html.twig +++ b/templates/application/InformationCard.html.twig @@ -3,7 +3,7 @@
- Logo application

{{ application.name }}

diff --git a/templates/application/appSmall.html.twig b/templates/application/appSmall.html.twig index a85a585..14faa93 100644 --- a/templates/application/appSmall.html.twig +++ b/templates/application/appSmall.html.twig @@ -2,7 +2,7 @@
- Logo application

{{ application.entity.name }}