web/views/wdoc.py
branchstable
changeset 3818 9522e51d8644
parent 3495 438576c5b1d1
child 3890 d7a270f50f54
child 4212 ab6573088b4a
--- a/web/views/wdoc.py	Tue Nov 10 18:13:07 2009 +0100
+++ b/web/views/wdoc.py	Wed Nov 11 14:44:58 2009 +0100
@@ -236,6 +236,17 @@
         self.w(rest_publish(self, '\n'.join(restdata)))
 
 
+class HelpAction(action.Action):
+    id = 'help'
+    __select__ = yes()
+
+    category = 'footer'
+    order = 0
+    title = _('Help')
+
+    def url(self):
+        return self.req.build_url('doc/main')
+
 class ChangeLogAction(action.Action):
     id = 'changelog'
     __select__ = yes()