cleanup
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 02 Jul 2010 09:02:08 +0200
changeset 5854 b49f58a320e6
parent 5853 89ad81d6972d
child 5858 384d34e76d6d
cleanup
web/data/cubicweb.css
web/views/basecomponents.py
web/views/basetemplates.py
--- a/web/data/cubicweb.css	Fri Jul 02 09:01:58 2010 +0200
+++ b/web/data/cubicweb.css	Fri Jul 02 09:02:08 2010 +0200
@@ -18,7 +18,7 @@
 h1, h2, h3 { margin-top:0; margin-bottom:0; }
 
 /* got rhythm ? beat of 12*1.25 = 15 px */
-.rhythm_bg { background: url(/data/%(baseRhythmBg)s) repeat ! important; }
+.rhythm_bg { background: url("%(baseRhythmBg)s") repeat ! important; }
 
 /* scale 3:5 stranded */
 /* h1 { font-size:2em; } */
--- a/web/views/basecomponents.py	Fri Jul 02 09:01:58 2010 +0200
+++ b/web/views/basecomponents.py	Fri Jul 02 09:02:08 2010 +0200
@@ -19,8 +19,8 @@
 
 * the rql input form
 * the logged user link
+"""
 
-"""
 __docformat__ = "restructuredtext en"
 _ = unicode
 
--- a/web/views/basetemplates.py	Fri Jul 02 09:01:58 2010 +0200
+++ b/web/views/basetemplates.py	Fri Jul 02 09:02:08 2010 +0200
@@ -272,7 +272,7 @@
 
     def topleft_header(self):
         logo = self._cw.vreg['components'].select_or_none('logo', self._cw,
-                                                      rset=self.cw_rset)
+                                                          rset=self.cw_rset)
         if logo and logo.cw_propval('visible'):
             self.w(u'<table id="header"><tr>\n')
             self.w(u'<td>')