#template("frameheader.vm")
##

$msg.get("documenthistory")

#if ($tdoc.realLanguage!="")
#set($lang = "&language=${tdoc.realLanguage}")
#else
#set($lang = "")
#end

#foreach ($version in $tdoc.getRecentRevisions(0))
#set($origdoc = "")
#set($newdoc = "")
#set($nextversion = $version)
#set($newdoc = $xwiki.getDocument($tdoc, $nextversion))
- $msg.get("version") $nextversion ($msg.get("rollback"))

#if($newdoc=="")
($msg.get("cannotreaddocumentversion") $nextversion)
#else
$msg.get("editedby") $xwiki.getLocalUserName($newdoc.author) $msg.get("on") $xwiki.formatDate($newdoc.date)
#end

#end

##
#template("framefooter.vm")