From 53c3180d33a7a4b5341d9bbf7d80e29338b0a930 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 4 Nov 2025 09:39:18 +0100 Subject: [PATCH] Added logo to bucket --- src/Entity/Apps.php | 15 +++++++++++++++ templates/application/InformationCard.html.twig | 2 +- templates/application/appSmall.html.twig | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) 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 }}