Skip to content

Commit 3914f7a

Browse files
author
Leny BERNARD
committed
Merge pull request #306 from lenybernard/fix/user-layout
Change User layout to use ::base layout instead of frontLayout (which…
2 parents 47a6128 + 7663bdf commit 3914f7a

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

Bundle/UserBundle/Resources/views/layout.html.twig

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1-
{% extends '::frontLayout.html.twig' %}
1+
{% extends '::base.html.twig' %}
2+
3+
4+
{% block head_style %}
5+
{% stylesheets filter='less, cssrewrite' injector="victoire-edit, alertify-codrops-notification" %}
6+
<link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="screen" />
7+
{% endstylesheets %}
8+
{% endblock head_style %}
9+
10+
{% block head_script %}
11+
<!-- HEAD_SCRIPT -->
12+
{% javascripts injector="victoire-head" %}
13+
<script type="text/javascript" src="{{ asset_url }}"></script>
14+
{% endjavascripts %}
15+
<!-- END HEAD_SCRIPT -->
16+
17+
{{ parent() }}
18+
{% endblock head_script %}
219

320
{% block body %}
421
{% block content %}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends 'VictoireCoreBundle::base.html.twig' %}

0 commit comments

Comments
 (0)