From eeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 24 May 2015 16:02:25 -0400 Subject: Helpers refactoring --- app/Template/layout.php | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) (limited to 'app/Template/layout.php') diff --git a/app/Template/layout.php b/app/Template/layout.php index 7baecde9..cf74c8ab 100644 --- a/app/Template/layout.php +++ b/app/Template/layout.php @@ -11,16 +11,13 @@ - js('assets/js/app.js') ?> + asset->js('assets/js/app.js') ?> - css($this->u('app', 'colors'), false, 'all') ?> - css('assets/css/app.css') ?> - css('assets/css/print.css', true, 'print') ?> - - config->get('application_stylesheet')): ?> - - + asset->css($this->url->href('app', 'colors'), false, 'all') ?> + asset->css('assets/css/app.css') ?> + asset->css('assets/css/print.css', true, 'print') ?> + asset->customCss() ?> @@ -30,19 +27,19 @@ <?= isset($title) ? $this->e($title) : 'Kanboard' ?> - +
- flash('
%s
') ?> - flashError('
%s
') ?> + app->flashMessage() ?>
-- cgit v1.2.3