Projet

Général

Profil

0001-misc-fix-order-of-templates-locations-25426.patch

Frédéric Péters, 23 juillet 2018 15:00

Télécharger (1,12 ko)

Voir les différences:

Subject: [PATCH] misc: fix order of templates locations (#25426)

 wcs/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/utils.py
36 36
                    'templates', 'variants', theme))
37 37
                template_dirs.append(os.path.join(get_publisher().app_dir,
38 38
                    'theme', 'templates', 'variants', theme))
39
            template_dirs.append(os.path.join(get_publisher().app_dir, 'theme', 'templates'))
40 39
            template_dirs.append(os.path.join(get_publisher().app_dir, 'templates'))
40
            template_dirs.append(os.path.join(get_publisher().app_dir, 'theme', 'templates'))
41 41

  
42 42
            current_theme = get_cfg('branding', {}).get('theme', 'default')
43 43
            theme_directory = get_theme_directory(current_theme)
44
-