Updated resources
authorThierry Florac <thierry.florac@onf.fr>
Tue, 04 Dec 2018 12:33:23 +0100
changeset 272 857b7fee282c
parent 271 06ffd6495af4
child 273 7e42b94d188e
Updated resources
src/pyams_default_theme/__init__.py
--- a/src/pyams_default_theme/__init__.py	Fri Nov 30 14:47:53 2018 +0100
+++ b/src/pyams_default_theme/__init__.py	Tue Dec 04 12:33:23 2018 +0100
@@ -15,7 +15,7 @@
 from fanstatic import Resource, Library
 from pyramid.i18n import TranslationStringFactory
 
-from pyams_skin import bootstrap_css, bootstrap, bootstrap_modal_css, myams_js
+from pyams_skin import bootstrap_css, bootstrap, bootstrap_modal_css, myams_js_core
 from pyams_utils.fanstatic import ExternalResource
 
 _ = TranslationStringFactory('pyams_default_theme')
@@ -24,7 +24,7 @@
 library = Library('pyams_default_theme', 'resources')
 
 pyams_default_theme_fonts = ExternalResource(library,
-                                             'https://fonts.googleapis.com/css?family=Lato:300|Oswald|Anonymous+Pro',
+                                             'https://fonts.googleapis.com/css?family=Lato:300|Oswald|Source+Code+Pro',
                                              resource_type='css')
 
 pyams_default_theme_css = Resource(library, 'css/pyams-default.css',
@@ -33,7 +33,7 @@
 
 pyams_default_theme = Resource(library, 'js/pyams-default.js',
                                minified='js/pyams-default.min.js',
-                               depends=(bootstrap, myams_js, pyams_default_theme_css),
+                               depends=(bootstrap, myams_js_core, pyams_default_theme_css),
                                bottom=True)
 
 #