From a599caaa30709089509ed151c7ff7d3058964b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Guzm=C3=A1n=20Maeso?= Date: Tue, 7 Nov 2017 14:08:56 +0100 Subject: [PATCH] Update using the layout for 1.3 and master version Clarify the file that must be used for each version --- Resources/docs/layout.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Resources/docs/layout.md b/Resources/docs/layout.md index 53180828..48dafeb9 100644 --- a/Resources/docs/layout.md +++ b/Resources/docs/layout.md @@ -1,5 +1,7 @@ ## Using the layout +Note: this instrucions are for [dev-master branch][4], if you are using stable version (1.3) read this ["Using the layout" for old 1.3 version][5]. + In order to use the layout, your views should extend from the provided `default-layout` ```twig {% extends 'AvanzuAdminThemeBundle:layout:default-layout.html.twig' %} @@ -115,3 +117,5 @@ The blocks defined in the layout in order of appearance. Some of them do contain [1]: http://symfony.com/doc/current/templating/overriding.html [2]: https://github.com/avanzu/AdminThemeBundle/blob/master/README.md [3]: https://github.com/avanzu/AdminThemeBundle/blob/master/Resources/docs/rebuild.md +[4]: https://github.com/avanzu/AdminThemeBundle/blob/master/Resources/docs/layout.md +[5]: https://github.com/avanzu/AdminThemeBundle/blob/hotfix-1.3.5/Resources/docs/layout.md