web/views/wdoc.py
changeset 3655 af86ab65a282
parent 3503 06bced8edddf
child 3733 c3feb6a33f58
equal deleted inserted replaced
3654:e4bed64e0ad7 3655:af86ab65a282
   235         w('') # blank line
   235         w('') # blank line
   236         self.w(rest_publish(self, '\n'.join(restdata)))
   236         self.w(rest_publish(self, '\n'.join(restdata)))
   237 
   237 
   238 
   238 
   239 class ChangeLogAction(action.Action):
   239 class ChangeLogAction(action.Action):
   240     id = 'changelog'
   240     __regid__ = 'changelog'
   241     __select__ = yes()
   241     __select__ = yes()
   242 
   242 
   243     category = 'footer'
   243     category = 'footer'
   244     order = 1
   244     order = 1
   245     title = ChangeLogView.title
   245     title = ChangeLogView.title
   246 
   246 
   247     def url(self):
   247     def url(self):
   248         return self.req.build_url('changelog')
   248         return self._cw.build_url('changelog')
   249 
   249 
   250 
   250 
   251 class AboutAction(action.Action):
   251 class AboutAction(action.Action):
   252     id = 'about'
   252     __regid__ = 'about'
   253     __select__ = yes()
   253     __select__ = yes()
   254 
   254 
   255     category = 'footer'
   255     category = 'footer'
   256     order = 2
   256     order = 2
   257     title = _('about this site')
   257     title = _('about this site')
   258 
   258 
   259     def url(self):
   259     def url(self):
   260         return self.req.build_url('doc/about')
   260         return self._cw.build_url('doc/about')
   261 
   261