Browse Source

Merge branch 'develop'

develop
Guillaume 2 years ago
parent
commit
873cb4fca2
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      Twig/TwigExtension.php

+ 6
- 1
Twig/TwigExtension.php View File



public function getLogoAdmin(): string public function getLogoAdmin(): string
{ {
return '<img class="logo-admin" src="assets/img/' . $this->getParameter('app.admin.logo') . '" >';
$image = $this->getParameter('app.admin.logo_sidebar');
if(!$image) {
$image = $this->getParameter('app.admin.logo');
}

return '<img class="logo-admin" src="assets/img/' . $image . '" >';
} }
} }

Loading…
Cancel
Save