$action.title ($action.getText("alternatives.intrash.title"))

#if ($possibleAlternativesInTrash.size() > 0) #else $action.title ($action.getText("alternatives.title")) #end
#parse ( "/template/includes/actionerrors.vm" ) #if ($actionErrors.size() == 0)
#if ($possibleAlternativesInTrash.size() > 0)
$action.getText("page.in.trash")
#if ($permissionCheckDispatcher.isPermitted("/spaces/spaceadmin.action?key=$space.key"))

#foreach ($page in $possibleAlternativesInTrash)
$page.title | $generalUtil.summarise($page.content) | Restore
#end

#end #else

$action.getText("alternatives.available")

#if ($possibleAlternativesInSpace.size() != 0)
$action.getText("alternatives.space.title")
#if ($possibleAlternativesInSpace.size() == 1) $action.getText("alternatives.space.one") #else $action.getText("alternatives.space.many") #end #foreach ($page in $possibleAlternativesInSpace) #contentLink($page) $!generalUtil.summarise($page.content) #end
#end #if ($possibleAlternativesElsewhere.size() != 0)
$action.getText("alternatives.elsewhere.title")
#if ($possibleAlternativesElsewhere.size() == 1) $action.getText("alternatives.elsewhere.one") #else $action.getText("alternatives.elsewhere.many") #end #foreach ($page in $possibleAlternativesElsewhere) #contentLink($page) $!generalUtil.summarise($page.content) #end
#end #if ($possibleAlternativesInSpaceSearch.size() != 0)
$action.getText('alternatives.space.title')
#if ($possibleAlternativesInSpaceSearch.size() == 1) $action.getText('alternative.page.similar.one') #else $action.getText('alternative.page.similar.many') #end #foreach ($page in $possibleAlternativesInSpaceSearch) #contentLink($page) $!generalUtil.summarise($page.content) #end
#end

#end #parse ( "/breadcrumbs.vm" ) #if ($space.key) $webwork.htmlEncode($space.name) $space.key #end