def editorheader(self, d, **kw): if not self.is_mobile: return ThemeBase.editorheader(self, d, **kw) html = [ u'<div id="header">', u'<h1 id="locationline">', self.title_with_separators(d), u'</h1>', self.msg(d), u'</div>', ] return u'\n'.join(html)