mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 06:26:15 +00:00
rename syntax for ChillMain twig template calls
This commit is contained in:
parent
ced9d17d03
commit
7d9de642ff
@ -13,7 +13,7 @@ class DefaultController extends Controller
|
|||||||
return $this->redirectToRoute('chill_main_admin_central', [], 302);
|
return $this->redirectToRoute('chill_main_admin_central', [], 302);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->render('ChillMainBundle::layout.html.twig');
|
return $this->render('@ChillMain/layout.html.twig');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function indexWithoutLocaleAction()
|
public function indexWithoutLocaleAction()
|
||||||
|
@ -29,7 +29,7 @@ class LoginController extends Controller
|
|||||||
public function loginAction(Request $request)
|
public function loginAction(Request $request)
|
||||||
{
|
{
|
||||||
|
|
||||||
return $this->render('ChillMainBundle:Login:login.html.twig', array(
|
return $this->render('@ChillMain/Login/login.html.twig', array(
|
||||||
'last_username' => $this->helper->getLastUsername(),
|
'last_username' => $this->helper->getLastUsername(),
|
||||||
'error' => $this->helper->getLastAuthenticationError()
|
'error' => $this->helper->getLastAuthenticationError()
|
||||||
));
|
));
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
namespace Chill\MainBundle\Pagination;
|
namespace Chill\MainBundle\Pagination;
|
||||||
|
|
||||||
|
use Twig\Environment;
|
||||||
use Twig\Extension\AbstractExtension;
|
use Twig\Extension\AbstractExtension;
|
||||||
use Twig\TwigFunction;
|
use Twig\TwigFunction;
|
||||||
|
|
||||||
@ -56,7 +57,7 @@ class ChillPaginationTwig extends AbstractExtension
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function paginationRender(
|
public function paginationRender(
|
||||||
\Twig_Environment $env,
|
Environment $env,
|
||||||
PaginatorInterface $paginator,
|
PaginatorInterface $paginator,
|
||||||
$template = 'ChillMainBundle:Pagination:long.html.twig'
|
$template = 'ChillMainBundle:Pagination:long.html.twig'
|
||||||
) {
|
) {
|
||||||
|
@ -24,6 +24,7 @@ namespace Chill\MainBundle\Routing;
|
|||||||
use Chill\MainBundle\Routing\MenuComposer;
|
use Chill\MainBundle\Routing\MenuComposer;
|
||||||
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
|
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
use Twig\Environment;
|
||||||
use Twig\Extension\AbstractExtension;
|
use Twig\Extension\AbstractExtension;
|
||||||
use Twig\TwigFunction;
|
use Twig\TwigFunction;
|
||||||
|
|
||||||
@ -86,7 +87,7 @@ class MenuTwig extends AbstractExtension implements ContainerAwareInterface
|
|||||||
* @param string $menuId
|
* @param string $menuId
|
||||||
* @param mixed[] $params
|
* @param mixed[] $params
|
||||||
*/
|
*/
|
||||||
public function chillMenu(\Twig_Environment $env, $menuId, array $params = array())
|
public function chillMenu(Environment $env, $menuId, array $params = array())
|
||||||
{
|
{
|
||||||
$resolvedParams = array_merge($this->defaultParams, $params);
|
$resolvedParams = array_merge($this->defaultParams, $params);
|
||||||
|
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Chill\MainBundle\Templating\Widget;
|
namespace Chill\MainBundle\Templating\Widget;
|
||||||
|
|
||||||
use \Twig_Environment;
|
use Twig\Environment;
|
||||||
|
|
||||||
interface WidgetInterface
|
interface WidgetInterface
|
||||||
{
|
{
|
||||||
public function render(Twig_Environment $env, $place, array $context, array $config);
|
public function render(Environment $env, $place, array $context, array $config);
|
||||||
}
|
}
|
@ -22,6 +22,7 @@ namespace Chill\MainBundle\Templating\Widget;
|
|||||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Chill\MainBundle\Templating\Widget\WidgetInterface;
|
use Chill\MainBundle\Templating\Widget\WidgetInterface;
|
||||||
use Chill\MainBundle\Templating\Events\DelegatedBlockRenderingEvent;
|
use Chill\MainBundle\Templating\Events\DelegatedBlockRenderingEvent;
|
||||||
|
use Twig\Environment;
|
||||||
use Twig\Extension\AbstractExtension;
|
use Twig\Extension\AbstractExtension;
|
||||||
use Twig\TwigFunction;
|
use Twig\TwigFunction;
|
||||||
|
|
||||||
@ -105,7 +106,7 @@ class WidgetRenderingTwig extends AbstractExtension
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function renderingWidget(\Twig_Environment $env, $block, array $context = array())
|
public function renderingWidget(Environment $env, $block, array $context = array())
|
||||||
{
|
{
|
||||||
// get the content of widgets
|
// get the content of widgets
|
||||||
$content = '';
|
$content = '';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends "ChillMainBundle::Admin/layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/Admin/layoutWithVerticalMenu.html.twig" %}
|
||||||
|
|
||||||
{% block admin_content %}
|
{% block admin_content %}
|
||||||
<h1>{{ 'Administration interface'|trans }}</h1>
|
<h1>{{ 'Administration interface'|trans }}</h1>
|
||||||
|
@ -21,12 +21,12 @@
|
|||||||
layout.
|
layout.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "ChillMainBundle::layout.html.twig" %}
|
{% extends "@ChillMain/layout.html.twig" %}
|
||||||
|
|
||||||
{% block navigation_search_bar %}{% endblock %}
|
{% block navigation_search_bar %}{% endblock %}
|
||||||
{% block navigation_section_menu %}
|
{% block navigation_section_menu %}
|
||||||
{{ chill_menu('admin_section', {
|
{{ chill_menu('admin_section', {
|
||||||
'layout': 'ChillMainBundle::Menu/adminSection.html.twig',
|
'layout': '@ChillMain/Menu/adminSection.html.twig',
|
||||||
}) }}
|
}) }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -21,12 +21,12 @@
|
|||||||
layout.
|
layout.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "ChillMainBundle::layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
|
||||||
|
|
||||||
{% block navigation_search_bar %}{% endblock %}
|
{% block navigation_search_bar %}{% endblock %}
|
||||||
{% block navigation_section_menu %}
|
{% block navigation_section_menu %}
|
||||||
{{ chill_menu('admin_section', {
|
{{ chill_menu('admin_section', {
|
||||||
'layout': 'ChillMainBundle::Menu/adminSection.html.twig',
|
'layout': '@ChillMain/Menu/adminSection.html.twig',
|
||||||
}) }}
|
}) }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -16,11 +16,11 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "ChillMainBundle::Admin/layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/Admin/layoutWithVerticalMenu.html.twig" %}
|
||||||
|
|
||||||
{% block vertical_menu_content %}
|
{% block vertical_menu_content %}
|
||||||
{{ chill_menu('admin_permissions', {
|
{{ chill_menu('admin_permissions', {
|
||||||
'layout': 'ChillMainBundle::Menu/admin_permissions.html.twig',
|
'layout': '@ChillMain/Menu/admin_permissions.html.twig',
|
||||||
}) }}
|
}) }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'Center edit'|trans }}{% endblock %}
|
{% block title %}{{ 'Center edit'|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'Center list'|trans }}{% endblock %}
|
{% block title %}{{ 'Center list'|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'Center creation'|trans }}{% endblock %}
|
{% block title %}{{ 'Center creation'|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'Centre %name%'|trans({ '%name%': entity.name }) }}{% endblock %}
|
{% block title %}{{ 'Centre %name%'|trans({ '%name%': entity.name }) }}{% endblock %}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "ChillMainBundle::layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
|
||||||
|
|
||||||
{% block title "Download export"|trans ~ export.title|trans %}
|
{% block title "Download export"|trans ~ export.title|trans %}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "ChillMainBundle::layout.html.twig" %}
|
{% extends "@ChillMain/layout.html.twig" %}
|
||||||
|
|
||||||
{% block title %}{{ 'Exports list'|trans }}{% endblock %}
|
{% block title %}{{ 'Exports list'|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "ChillMainBundle::layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
|
||||||
|
|
||||||
{% block title %}{{ export.title|trans }}{% endblock %}
|
{% block title %}{{ export.title|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "ChillMainBundle::layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
|
||||||
|
|
||||||
{% block title %}{{ export.title|trans }}{% endblock %}
|
{% block title %}{{ export.title|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "ChillMainBundle::layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
|
||||||
|
|
||||||
{% block title %}{{ export.title|trans }}{% endblock %}
|
{% block title %}{{ export.title|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -16,5 +16,5 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "ChillMainBundle::Menu/verticalMenu.html.twig" %}
|
{% extends "@ChillMain/Menu/verticalMenu.html.twig" %}
|
||||||
{% block v_menu_title %}{{ 'Admin Menu'|trans }}{% endblock %}
|
{% block v_menu_title %}{{ 'Admin Menu'|trans }}{% endblock %}
|
@ -16,5 +16,5 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "ChillMainBundle::Menu/verticalMenu.html.twig" %}
|
{% extends "@ChillMain/Menu/verticalMenu.html.twig" %}
|
||||||
{% block v_menu_title %}{{ 'Permissions Menu'|trans }}{% endblock %}
|
{% block v_menu_title %}{{ 'Permissions Menu'|trans }}{% endblock %}
|
@ -16,5 +16,5 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "ChillMainBundle::Menu/verticalMenu.html.twig" %}
|
{% extends "@ChillMain/Menu/verticalMenu.html.twig" %}
|
||||||
{% block v_menu_title %}{{ 'Export Menu'|trans }}{% endblock %}
|
{% block v_menu_title %}{{ 'Export Menu'|trans }}{% endblock %}
|
@ -17,7 +17,7 @@
|
|||||||
#}
|
#}
|
||||||
|
|
||||||
|
|
||||||
{% extends "ChillMainBundle::layout.html.twig" %}
|
{% extends "@ChillMain/layout.html.twig" %}
|
||||||
|
|
||||||
|
|
||||||
{% block title %}{{"Change my password"|trans}}{% endblock %}
|
{% block title %}{{"Change my password"|trans}}{% endblock %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'PermissionsGroup "%name%" edit'|trans( { '%name%': entity.name } ) }}{% endblock %}
|
{% block title %}{{ 'PermissionsGroup "%name%" edit'|trans( { '%name%': entity.name } ) }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'Permissions group list'|trans }}{% endblock %}
|
{% block title %}{{ 'Permissions group list'|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'New permission group'|trans }}{% endblock %}
|
{% block title %}{{ 'New permission group'|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'Permission group "%name%"'|trans({ '%name%': entity.name }) }}{% endblock %}
|
{% block title %}{{ 'Permission group "%name%"'|trans({ '%name%': entity.name }) }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'Circle edit'|trans }}{% endblock %}
|
{% block title %}{{ 'Circle edit'|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'List circles'|trans }}{% endblock %}
|
{% block title %}{{ 'List circles'|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'Circle creation'|trans }}{% endblock %}
|
{% block title %}{{ 'Circle creation'|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'Circle'|trans }}{% endblock %}
|
{% block title %}{{ 'Circle'|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* You should have received a copy of the GNU Affero General Public License
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
{% extends "ChillMainBundle::layout.html.twig" %}
|
{% extends "@ChillMain/layout.html.twig" %}
|
||||||
|
|
||||||
|
|
||||||
{% block title title|trans %}
|
{% block title title|trans %}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* You should have received a copy of the GNU Affero General Public License
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
{% extends "ChillMainBundle::layout.html.twig" %}
|
{% extends "@ChillMain/layout.html.twig" %}
|
||||||
|
|
||||||
{% set _search_pattern = pattern %}
|
{% set _search_pattern = pattern %}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* You should have received a copy of the GNU Affero General Public License
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
{% extends "ChillMainBundle::layout.html.twig" %}
|
{% extends "@ChillMain/layout.html.twig" %}
|
||||||
|
|
||||||
{% set _search_pattern = pattern %}
|
{% set _search_pattern = pattern %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'User edit'|trans }}{% endblock %}
|
{% block title %}{{ 'User edit'|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'Edit password for %username%'|trans( { '%username%': entity.username } ) }}{% endblock %}
|
{% block title %}{{ 'Edit password for %username%'|trans( { '%username%': entity.username } ) }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'user list'|trans|capitalize }}{% endblock %}
|
{% block title %}{{ 'user list'|trans|capitalize }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'User creation'|trans }}{% endblock %}
|
{% block title %}{{ 'User creation'|trans }}{% endblock %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
{% extends '@ChillMain/Admin/layout_permissions.html.twig' %}
|
||||||
|
|
||||||
{% block title %}{{ 'User %username%'|trans({ '%username%': entity.username }) }}{% endblock %}
|
{% block title %}{{ 'User %username%'|trans({ '%username%': entity.username }) }}{% endblock %}
|
||||||
|
|
||||||
|
@ -46,12 +46,12 @@
|
|||||||
<ul class="navigation-menu">
|
<ul class="navigation-menu">
|
||||||
{% block navigation_section_menu %}
|
{% block navigation_section_menu %}
|
||||||
{{ chill_menu('section', {
|
{{ chill_menu('section', {
|
||||||
'layout': 'ChillMainBundle::Menu/section.html.twig',
|
'layout': '@ChillMain/Menu/section.html.twig',
|
||||||
}) }}
|
}) }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{{ chill_menu('user', {
|
{{ chill_menu('user', {
|
||||||
'layout': 'ChillMainBundle::Menu/user.html.twig',
|
'layout': '@ChillMain/Menu/user.html.twig',
|
||||||
}) }}
|
}) }}
|
||||||
|
|
||||||
{% if available_languages|length == 1 %}
|
{% if available_languages|length == 1 %}
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
( for the vertical menu you can extends Menu/veticalMenu.html.twig ).
|
( for the vertical menu you can extends Menu/veticalMenu.html.twig ).
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "ChillMainBundle::layout.html.twig" %}
|
{% extends "@ChillMain/layout.html.twig" %}
|
||||||
|
|
||||||
{% block sublayout_containter %}
|
{% block sublayout_containter %}
|
||||||
<div class="container content">
|
<div class="container content">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user