Bläddra i källkod

Logo en paramètres (login + adminlte)

develop
Guillaume 3 år sedan
förälder
incheckning
145d9ff995
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. +1
    -1
      Controller/Dashboard/DashboardAdminController.php
  2. +1
    -1
      Controller/Security/SecurityAdminController.php

+ 1
- 1
Controller/Dashboard/DashboardAdminController.php Visa fil

@@ -26,7 +26,7 @@ class DashboardAdminController extends AbstractDashboardController
// the name visible to end users
->setTitle('LA CLIC !')
// you can include HTML contents too (e.g. to link to an image)
->setTitle('<img src="assets/img/laclic.png" width="100px">')
->setTitle('<img src="assets/img/'.$this->get('parameter_bag')->get('app.admin.logo').'" width="100px">')
// the path defined in this method is passed to the Twig asset() function
->setFaviconPath('favicon.svg')
// the domain used by default is 'messages'

+ 1
- 1
Controller/Security/SecurityAdminController.php Visa fil

@@ -39,7 +39,7 @@ class SecurityAdminController extends AbstractController
// the title visible above the login form (define this option only if you are
// rendering the login template in a regular Symfony controller; when rendering
// it from an EasyAdmin Dashboard this is automatically set as the Dashboard title)
'page_title' => '<img src="assets/img/laclic.png" >',
'page_title' => '<img src="assets/img/'.$this->get('parameter_bag')->get('app.admin.logo').'" >',

// the string used to generate the CSRF token. If you don't define
// this parameter, the login form won't include a CSRF token

Laddar…
Avbryt
Spara