Преглед на файлове

Logo en paramètres (login + adminlte)

develop
Guillaume преди 3 години
родител
ревизия
145d9ff995
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +1
    -1
      Controller/Dashboard/DashboardAdminController.php
  2. +1
    -1
      Controller/Security/SecurityAdminController.php

+ 1
- 1
Controller/Dashboard/DashboardAdminController.php Целия файл

@@ -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 Целия файл

@@ -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

Loading…
Отказ
Запис