Mercurial > moin > 1.9
comparison MoinMoin/wikiaction.py @ 33:55ff4feb0f59
src cosmetics: remove TODOs, CVS stuff
imported from: moin--main--1.5--patch-34
author | Thomas Waldmann <tw@waldmann-edv.de> |
---|---|
date | Sun, 25 Sep 2005 11:36:51 +0000 |
parents | 6772e845059d |
children | 9f6c1868c0c8 |
comparison
equal
deleted
inserted
replaced
32:5153d7c2b1c1 | 33:55ff4feb0f59 |
---|---|
254 history = TupleDataset() | 254 history = TupleDataset() |
255 history.columns = [ | 255 history.columns = [ |
256 Column('rev', label='#', align='right'), | 256 Column('rev', label='#', align='right'), |
257 Column('mtime', label=_('Date'), align='right'), | 257 Column('mtime', label=_('Date'), align='right'), |
258 Column('size', label=_('Size'), align='right'), | 258 Column('size', label=_('Size'), align='right'), |
259 Column('diff', label='<input type="submit" value="%s">' % (_("Diff"))), | 259 Column('diff', label='<input type="submit" value="%s">' % (_("Diff"))), |
260 # TODO: translate to English | |
261 # entfernt, nicht 4.01 compliant: href="%s" % page.url(request) | |
262 Column('editor', label=_('Editor'), hidden=not request.cfg.show_hosts), | 260 Column('editor', label=_('Editor'), hidden=not request.cfg.show_hosts), |
263 Column('comment', label=_('Comment')), | 261 Column('comment', label=_('Comment')), |
264 Column('action', label=_('Action')), | 262 Column('action', label=_('Action')), |
265 ] | 263 ] |
266 | 264 |
374 | 372 |
375 if not count: # there was no entry in logfile | 373 if not count: # there was no entry in logfile |
376 request.write(_('No log entries found.')) | 374 request.write(_('No log entries found.')) |
377 return | 375 return |
378 | 376 |
379 # TODO: this form activate revert, which should use post, but | 377 # TODO: this form activates revert, which should use POST, but |
380 # other actions should use get. Maybe we should put the revert | 378 # other actions should use get. Maybe we should put the revert |
381 # into the page view itself, and not in this form. | 379 # into the page view itself, and not in this form. |
382 request.write('<form method="GET" action="">\n') | 380 request.write('<form method="GET" action="">\n') |
383 request.write('<div id="page-history">\n') | 381 request.write('<div id="page-history">\n') |
384 request.write('<input type="hidden" name="action" value="diff">\n') | 382 request.write('<input type="hidden" name="action" value="diff">\n') |