partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 48449e268e56cf21d4958f37edb1ec5ba473bb83
parent a184b33a19cea2044073a3eab59221460308808b
Author: Felicia Hummel <felicia@drachenkatze.org>
Date:   Sun,  1 Jul 2018 17:55:44 +0200

Updated the themeUri handler for a more recent version of twig to allow the mobile frontend to work again

Diffstat:
Msrc/PartKeepr/MobileFrontendBundle/Resources/views/index.html.twig | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PartKeepr/MobileFrontendBundle/Resources/views/index.html.twig b/src/PartKeepr/MobileFrontendBundle/Resources/views/index.html.twig @@ -14,8 +14,8 @@ {% set themeUri %}js/packages/extjs6/build/classic/theme-{{ defaultTheme }}/resources/theme-{{ defaultTheme }}-all.css{% endset %} {% set themeUxUri %}js/packages/extjs6/build/packages/ux/classic/{{ defaultTheme }}/resources/ux-all.css{% endset %} - <link id="theme" rel="stylesheet" href="{{ asset(themeUri) }}"/> - <link id="themeUx" rel="stylesheet" href="{{ asset(themeUxUri) }}"/> + <link id="theme" rel="stylesheet" href="{{ asset('' ~ themeUri) }}"/> + <link id="themeUx" rel="stylesheet" href="{{ asset('' ~ themeUxUri) }}"/> <!-- Include the ExtJS CSS Theme --> {% stylesheets