allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject allura git commit: [#3593] fix CSS background image url, when debug=false, by setting compress=false; also JS can be later in page
Date Thu, 14 Jul 2016 16:00:57 GMT
Repository: allura
Updated Branches:
  refs/heads/master c4424b860 -> cea578b46


[#3593] fix CSS background image url, when debug=false, by setting compress=false; also JS
can be later in page


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/cea578b4
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/cea578b4
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/cea578b4

Branch: refs/heads/master
Commit: cea578b4648b45961c16c4a776ff039cf42718ac
Parents: c4424b8
Author: Dave Brondsema <dave@brondsema.net>
Authored: Thu Jul 14 12:00:07 2016 -0400
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Thu Jul 14 12:00:07 2016 -0400

----------------------------------------------------------------------
 Allura/allura/ext/admin/templates/project_admin.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/cea578b4/Allura/allura/ext/admin/templates/project_admin.html
----------------------------------------------------------------------
diff --git a/Allura/allura/ext/admin/templates/project_admin.html b/Allura/allura/ext/admin/templates/project_admin.html
index 1a55c48..e3f919c 100644
--- a/Allura/allura/ext/admin/templates/project_admin.html
+++ b/Allura/allura/ext/admin/templates/project_admin.html
@@ -18,8 +18,8 @@
 -#}
 {% extends g.theme.master %}
 
-{% do g.register_forge_js('js/hopscotch.min.js') %} {# location='body_js_tail' #}
-{% do g.register_forge_css('css/hopscotch.min.css') %} {# location='body_js_tail' #}
+{% do g.register_forge_js('js/hopscotch.min.js', location='body_js') %}
+{% do g.register_forge_css('css/hopscotch.min.css', compress=False) %} {# compress will also
serve from a different location, breaking image refs #}
 
 {% block title %}{{c.project.name}} / Admin Welcome{% endblock %}
 


Mime
View raw message