#set ( $dateformat = $classtool.newInstance( "java.text.SimpleDateFormat", "EEE MMM dd, yyyy hh:mm a" ) ) #foreach ( $revision in $revisions.revisions ) #end
$context.getPageProperty('text.version') $context.getPageProperty('text.author') $context.getPageProperty('text.date') $context.getPageProperty('text.message')
#if ( ${foreach.count} == 1 ) $!revision.version (current) #else $revision.version #end #if ( ${foreach.count} == 1 ) $!revision.author #else $!revision.author #end #set ( $dateString = $dateformat.format( $revision.lastModified() ) ) #if ( ${foreach.count} == 1 ) $dateString.replaceAll( " ", " " ) #else $dateString.replaceAll( " ", " " ) #end #if ( ${foreach.count} == 1 ) #if ( !$revision.version && !$revision.message ) $context.getPageProperty('text.nonversioning') #else $!revision.message #end #else $!revision.message #end
#if( $candeleteall ) #end