~kubuntu-website/kubuntu-website/kubuntu-helpwikitheme

« back to all changes in this revision

Viewing changes to MoinMoin/theme/kubuntunew.py

  • Committer: Ryan Kavanagh
  • Date: 2009-07-08 21:53:54 UTC
  • Revision ID: ryanakca@kubuntu.org-20090708215354-ky9owxmkbxfcvy1o
We don't only display {Ubuntu,Kubuntu} Wiki, we switch the link's URL to match the wiki too

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
        html = '''
173
173
<div id="breadcrumb" class="breadcrumb">
174
174
<h3>You are here:</h3>
175
 
<a href="https://wiki.kubuntu.org/"><script type="text/javascript">
 
175
<a href="%s"><script type="text/javascript">
176
176
var name = document.domain.split('.')[1]
177
177
document.write(name.substr(0,1).toUpperCase() + name.substr(1,name.length))
178
 
</script> wiki
 
178
</script> Wiki
179
179
</a> &#187; %s
180
180
</div>
181
 
''' % " &#187; ".join(content)
 
181
''' % (self.request.getScriptname(), " &#187; ".join(content))
182
182
        return html
183
183
 
184
184
    def editbar(self, d):