Mercurial > moin > 1.9
changeset 3343:04548b25e042
info action: always use recall to allow sending the link
(cf. FeatureRequests/UnsortedStuff: Latest version link should include version number as a GET parameter)
author | Johannes Berg <johannes AT sipsolutions DOT net> |
---|---|
date | Thu, 20 Mar 2008 14:09:17 +0100 |
parents | 6003cadc0791 |
children | dba9666479a9 |
files | MoinMoin/action/info.py |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/action/info.py Thu Mar 20 13:57:34 2008 +0100 +++ b/MoinMoin/action/info.py Thu Mar 20 14:09:17 2008 +0100 @@ -109,10 +109,7 @@ actions = [] if line.action in ('SAVE', 'SAVENEW', 'SAVE/REVERT', 'SAVE/RENAME', ): size = page.size(rev=rev) - if count == 0: # latest page - actions.append(render_action(_('view'), {'action': 'show'})) - else: - actions.append(render_action(_('view'), {'action': 'recall', 'rev': '%d' % rev})) + actions.append(render_action(_('view'), {'action': 'recall', 'rev': '%d' % rev})) if count == 0: rchecked = ' checked="checked"' lchecked = ''