Compare commits

..

4 Commits

Author SHA1 Message Date
dambo c37aba4664 Merge Conflict
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-08-22 00:29:06 +02:00
dambo acfc4eccde Prueba 2024-08-22 00:24:30 +02:00
dambo 8e830192c5 Merge pull request 'Add entity name to table' (#1) from daniel into dev
dyb-tech.com/LaLiga-BackEnd/pipeline/head Something is wrong with the build of this commit
Reviewed-on: http://casa.dyb-tech.com:81/dyb-tech.com/LaLiga-BackEnd/pulls/1
2024-08-22 00:22:23 +02:00
dambo 2f3b397384 Add entity name to table
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
dyb-tech.com/LaLiga-BackEnd/pipeline/pr-dev Build started...
2024-08-21 23:31:33 +02:00
4 changed files with 37 additions and 4 deletions
+1 -3
View File
@@ -2,6 +2,4 @@
La Liga BackEnd Repository La Liga BackEnd Repository
Prueba borrado de cache. Prueba borrado de cache..
Working Fine.
+15
View File
@@ -26,6 +26,9 @@ class CustomRole
#[ORM\Column(nullable: true)] #[ORM\Column(nullable: true)]
private ?int $entityId = null; private ?int $entityId = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $entityName = null;
public function getId(): ?int public function getId(): ?int
{ {
return $this->id; return $this->id;
@@ -78,4 +81,16 @@ class CustomRole
return $this; return $this;
} }
public function getEntityName(): ?string
{
return $this->entityName;
}
public function setEntityName(?string $entityName): static
{
$this->entityName = $entityName;
return $this;
}
} }
+20
View File
@@ -0,0 +1,20 @@
{% extends 'base.html.twig' %}
{% block title %}Hello AdminController!{% endblock %}
{% block body %}
<style>
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
</style>
<div class="example-wrapper">
<h1>Hello {{ controller_name }}! ✅</h1>
This friendly message is coming from:
<ul>
<li>Your controller at <code>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/src/Controller/AdminController.php</code></li>
<li>Your template at <code>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/templates/admin/index.html.twig</code></li>
</ul>
</div>
{% endblock %}