Is there anything wrong with this patch?
Change log: update menus for all sites to have a common "WineHQ Menu".
files changed: winehq/winehq.py
? winehq/winehq ? winehq/img/logo.png Index: winehq/winehq.py =================================================================== RCS file: /cvsroot/wine/wiki/winehq/winehq.py,v retrieving revision 1.3 diff -u -r1.3 winehq.py --- winehq/winehq.py 16 May 2005 03:57:10 -0000 1.3 +++ winehq/winehq.py 3 Jun 2006 20:09:15 -0000 @@ -271,6 +271,22 @@ ''' return html % args
+ def winepanel(self, d): + """ Create wiki panel """ + _ = self.request.getText + html = [ + u'<div class="sidepanel">', + self.sidetitle(_("WineHQ Menu")), + u' <div class="sidecontent">', + u' <li><a href="http://www.winehq.org/"> WineHQ</a></li>', + u' <li><a href="http://appdb.winehq.org/"> AppDB</a></li>', + u' <li><a href="http://bugs.winehq.org/"> Bugzilla</a></li>', + u' <li><a href="http://wiki.winehq.org/"> Wine Wiki</a></li>', + u' </div>', + u'</div>', + ] + return u'\n'.join(html) + def wikipanel(self, d): """ Create wiki panel """ _ = self.request.getText @@ -351,6 +367,7 @@
# Sidebar u'<div id="sidebar">', + self.winepanel(d), self.wikipanel(d), self.pagepanel(d), self.userpanel(d),
I'd commit it, but I'd rather hear from Dimi first.
Dimi, FYI in about a month or so we are going to upgrade the WineHQ server. The old server is running out of disk space fast. Part of the reason I didn't want to host a Wiki before. With plenty of HDD that issue is gone. We are also moving the server to a new ISP with very good bandwidth.
When I finish building it, I'd like to take over hosting the Wiki on the WineHQ box. Sound cool?
On Thu, 2006-06-15 at 16:49 -0600, Tony Lambregts wrote:
Is there anything wrong with this patch?
Change log: update menus for all sites to have a common "WineHQ Menu".
files changed: winehq/winehq.py
On Thu, 2006-06-15 at 16:49 -0600, Tony Lambregts wrote:
Is there anything wrong with this patch?
No, I've just been away on vacation, I'll look at it soon.