Mercurial > moin-modernized
changeset 7:524b672970b4
Make the interwiki and pagelocation use <span>s, put them inside <h1> for consistent display without CSS
| author | Radomir Dopieralski <devel@sheep.art.pl> |
|---|---|
| date | Fri, 16 May 2008 16:55:07 +0200 |
| parents | 91fb0656efe9 |
| children | f00eb9a1977d |
| files | modernized.py |
| diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/modernized.py Fri May 16 16:52:56 2008 +0200 +++ b/modernized.py Fri May 16 16:55:07 2008 +0200 @@ -30,10 +30,10 @@ self.username(d), self.searchform(d), self.logo(), - u'<div id="locationline">', + u'<h1 id="locationline">', self.interwiki(d), self.title(d), - u'</div>', + u'</h1>', self.trail(d), self.msg(d), self.navibar(d), @@ -134,7 +134,7 @@ content.append(wikiutil.escape(d['title_text'])) location_html = u'<span class="sep">/</span>'.join(content) - html = u'<div id="pagelocation">%s</div>' % location_html + html = u'<span id="pagelocation">%s</span>' % location_html return html def username(self, d): @@ -231,7 +231,7 @@ page = wikiutil.getFrontPage(self.request) text = self.request.cfg.interwikiname or 'Self' link = page.link_to(self.request, text=text, rel='nofollow') - html = u'<div id="interwiki">%s<span class="sep">: </span></div>' % link + html = u'<span id="interwiki">%s<span class="sep">: </span></span>' % link else: html = u'' return html
