Ver código fonte

Merge branch 'develop' of https://forge.laclic.fr/Laclic/SovBundle into develop

develop
Guillaume 3 anos atrás
pai
commit
29c033c618
3 arquivos alterados com 10 adições e 8 exclusões
  1. +1
    -0
      Controller/AbstractAdminController.php
  2. +1
    -1
      Controller/AbstractController.php
  3. +8
    -7
      Resources/views/adminlte/block/navbar_header.html.twig

+ 1
- 0
Controller/AbstractAdminController.php Ver arquivo

@@ -508,6 +508,7 @@ abstract class AbstractAdminController extends EaAbstractCrudController
'icon' => 'trash',
'dropdown' => true,
'label' => $this->get(TranslatorAdmin::class)->transAction('delete'),
'class' => 'dropdown-item text-danger in-dropdown action-delete',
]
);


+ 1
- 1
Controller/AbstractController.php Ver arquivo

@@ -4,7 +4,7 @@ namespace Lc\SovBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\AbstractController as SfAbstractController;

class AbstractController extends SfAbstractController
abstract class AbstractController extends SfAbstractController
{
use ControllerTrait;
}

+ 8
- 7
Resources/views/adminlte/block/navbar_header.html.twig Ver arquivo

@@ -44,12 +44,13 @@
Pense-bête
</a>
</li>
<li class="nav-item">
<a href="{{ path(sov_homepage_route(), {section: section_current_slug()}) }}" class="btn btn-sm btn-block btn-outline-success" target="_blank"
rel="noreferrer">
<i class="action-icon fa fa-eye"></i>
Afficher le site
</a>
</li>
{# TODO Adapter Pour Caracole #}
{# <li class="nav-item">#}
{# <a href="{{ path(sov_homepage_route(), {section: section_slug_current()}) }}" class="btn btn-sm btn-block btn-outline-success" target="_blank"#}
{# rel="noreferrer">#}
{# <i class="action-icon fa fa-eye"></i>#}
{# Afficher le site#}
{# </a>#}
{# </li>#}
</ul>
</nav>

Carregando…
Cancelar
Salvar