Permalink
Browse files

Minor stylistic changes.

  • Loading branch information...
1 parent 7e27e62 commit 455aacf49b03e9d4c5edd8e3843999cfafada563 @robhudson robhudson committed Sep 17, 2008
Showing with 7 additions and 4 deletions.
  1. +3 −3 debug_toolbar/templates/debug_toolbar/base.html
  2. +4 −1 debug_toolbar/toolbar/loader.py
@@ -1,7 +1,7 @@
-<script src="{{ base_url }}/__debug__/m/jquery.js" type="text/javascript" charset="utf-8"></script>
-<script src="{{ base_url }}/__debug__/m/toolbar.js" type="text/javascript" charset="utf-8"></script>
+<script src="{{ BASE_URL }}/__debug__/m/jquery.js" type="text/javascript" charset="utf-8"></script>
+<script src="{{ BASE_URL }}/__debug__/m/toolbar.js" type="text/javascript" charset="utf-8"></script>
<style type="text/css">
- @import url({{ base_url }}/__debug__/m/toolbar.css);
+ @import url({{ BASE_URL }}/__debug__/m/toolbar.css);
</style>
<div id="djDebug">
<div id="djDebugToolbar">
@@ -58,4 +58,7 @@ def render_toolbar(self):
"""
Renders the overall Toolbar with panels inside.
"""
- return render_to_string('debug_toolbar/base.html', {'panels': self.panels, 'base_url': self.request.META.get('SCRIPT_NAME', '')})
+ return render_to_string('debug_toolbar/base.html', {
+ 'panels': self.panels,
+ 'BASE_URL': self.request.META.get('SCRIPT_NAME', '')
+ })

0 comments on commit 455aacf

Please sign in to comment.