diff --git a/Entity/Meta.php b/Entity/Meta.php index e4ae30d..2fe83ab 100644 --- a/Entity/Meta.php +++ b/Entity/Meta.php @@ -11,7 +11,7 @@ * * @ORM\Table(name="meta") * @ORM\Entity(repositoryClass="Mdespeuilles\MetaBundle\Repository\MetaRepository") - * @Vich\Uploadable + * @Vich\Uploadable() */ class Meta { @@ -88,6 +88,13 @@ class Meta * @ORM\Column(name="language", type="string", length=255, nullable=true) */ private $language; + + /** + * @ORM\Column(type="datetime", nullable=true) + * + * @var \DateTime + */ + private $updatedAt; /** @@ -307,5 +314,19 @@ public function setLanguage($language) { $this->language = $language; } + + /** + * @return \DateTime + */ + public function getUpdatedAt() { + return $this->updatedAt; + } + + /** + * @param \DateTime $updatedAt + */ + public function setUpdatedAt($updatedAt) { + $this->updatedAt = $updatedAt; + } } diff --git a/Resources/public/css/meta.css b/Resources/public/css/meta.css index 4948aea..9c401f9 100644 --- a/Resources/public/css/meta.css +++ b/Resources/public/css/meta.css @@ -57,4 +57,9 @@ text-align: center; line-height: 35px; height: 35px; +} + +#meta-quick-form img { + max-width: 100%; + height: auto; } \ No newline at end of file