#* @vtlvariable name="action" type="com.atlassian.confluence.pages.actions.PageInfoAction" *# #* @vtlvariable name="displayableItems" type="java.util.List" *# #* @vtlvariable name="exportItems" type="java.util.List" *# $action.getActionName($action.getClass().getName())#if($page.title) - $page.title#end $action.getActionName($action.getClass().getName()) #set ($confPage = $action.page) #set ($helper = $action.helper) #set ($pageType = $confPage.getType()) #applyDecorator("root") #decoratorParam("helper" $helper) #decoratorParam("mode" "view-information") #decoratorParam("context" "$pageType")
#set ($exportItems = $webInterfaceManager.getDisplayableItems("system.page.operations.export", $action.webInterfaceContext)) #if (!$exportItems.isEmpty()) #end #set ($sectionKey = "system.page.operations") #set ($displayableItems = $webInterfaceManager.getDisplayableItems($sectionKey, $action.webInterfaceContext)) #if (!$displayableItems.isEmpty()) #end
$action.getText('title.name'): $confPage.title  
$action.getText('author.name'):#userLink($confPage.creator) $action.dateFormatter.format($confPage.creationDate)
$action.getText('last.changed.by'):#userLink($confPage.lastModifier) $action.dateFormatter.format( $confPage.lastModificationDate )
$action.getText('tiny.link'): $action.getText('tiny.link.desc') #tinyLink()
$action.getText('export.as'): #foreach ($item in $exportItems) #if ($velocityCount > 1) · #end #set ($itemLabel = $item.label.getDisplayableLabel($req, $action.webInterfaceContext.toMap())) #set ($itemRenderedUrl = $item.link.getDisplayableUrl($req, $action.webInterfaceContext.toMap())) $itemLabel #end  
$action.getText('operations.word'): #foreach($item in $displayableItems) #set ($itemLabel = $item.label.getDisplayableLabel($req, $action.webInterfaceContext.toMap())) #set ($itemRenderedUrl = $item.link.getDisplayableUrl($req, $action.webInterfaceContext.toMap())) $itemLabel  #end
#if (!$action.incomingLinksMap.isEmpty() || !$action.trackbackLinks.isEmpty())
$helper.getText("action.page.incoming.links")
#foreach ($link in $action.incomingLinksMap.asMap().entrySet()) #end #if (!$action.trackbackLinks.isEmpty()) #end
#set ($destSpace = false) #set ($destSpace = $link.key) #if ($destSpace) $webwork.htmlEncode($destSpace.name) ($link.value.size())
#foreach ($linkedPage in $link.value)     #contentLink2($linkedPage true false)
#end #end
$action.getText("action.page.trackback.links")
#foreach ($link in $action.trackbackLinks)     #contentIcon ($link) $link.title $!link.blogName
      $!generalUtil.shortenString($link.excerpt,200)

#end
#end #if ($action.getPermittedChildren().size() > 0 || $page.parent)
$action.getText('hierarchy.word')
#if( $page.parent ) #end #if( $action.getPermittedChildren().size() > 0) #set ($children = $action.getPermittedChildren()) #set ($displayCount = $action.initialVisibleChildCount) #end
$helper.getText("parent.title")
    #contentLink2 ($page.parent true false)
$helper.getText("children.title") ($children.size())
#foreach ($child in $children) #if ($velocityCount <= $displayCount)     #contentLink2 ($child true false)
#end #end #if($children.size() > $displayCount) #end
#end
$helper.getText("action.page.labels")
#if ($page.getLabelsForDisplay($remoteUser).size() > 0) #set ($globalLabels = $page.getGlobalLabels($remoteUser)) #set ($userLabels = $page.getPersonalLabels($remoteUser)) #if ($globalLabels.size() > 0)
$action.getText('global.labels') ($globalLabels.size())
#set ($labels = $globalLabels) #parse("/com/atlassian/confluence/plugins/labels/components/labels-list.vm")
#end #if ($userLabels.size() > 0)
$action.getText('personal.labels') ($userLabels.size())
#set ($labels = $userLabels) #parse("/com/atlassian/confluence/plugins/labels/components/labels-list.vm")
#end #else
$helper.getText("action.no.labels")
#end
#if ($action.thisPagePermissions.size() > 0 || $action.inheritedContentPermissions.size() > 0)
$action.getText('page.permissions')
#if ($action.thisPagePermissions.size() > 0) $action.getText('page.restrictions'):
    #foreach ($permission in $action.thisPagePermissions)
  • #if ($permission.isGroupPermission()) $action.getText('only.users.in.group.can.action',["$permission.groupName","$permission.type.toLowerCase()"]) #else $action.getText('only.user.can.action', ["$permission.userSubject.name","$permission.type.toLowerCase()"]) #end (set by #userLink($permission.creator) at $action.dateFormatter.formatDateTime($permission.creationDate)) #if( $permissionHelper.canSetPermissions($action.authenticatedUser, $page )) #end
  • #end
#end #if ($action.inheritedContentPermissions.size() > 0) $action.getText('restrictions.from.parent.pages'):
    #foreach ($permission in $action.inheritedContentPermissions)
  • #if ($permission.isGroupPermission()) #contentLink2($permission.owningSet.owningContent true false) – $action.getText('only.users.in.group.can.action',["$permission.groupName","$permission.type.toLowerCase()"]) #else #contentLink2($permission.owningSet.owningContent true false) – $action.getText('only.user.can.action', ["$permission.userSubject.name","$permission.type.toLowerCase()"]) #end
  • #end
#end
#end #if ($action.hotReferrers && !$action.hotReferrers.isEmpty())
$helper.getText("action.page.hot.referrers")
#foreach ($referer in $action.hotReferrers) #if( $permissionHelper.isConfluenceAdministrator($action.authenticatedUser)) #end #end
($referer.viewCount) $action.renderReferralLink($referer) [$action.getText('ban.word')]
#end
#if (!$action.latestChanges.isEmpty()) $action.getText('recent.changes') #else $action.getText('recent.changes') #end
#if ($action.changesSinceLastLogin) #if ($action.changesSinceLastLogin.numberOfChanges > 0) $action.getText('since.you.last.logged.in'):
    #if ($action.changesSinceLastLogin.numberOfChanges == 1) $action.getText('user.made.one.change', ["#userList($action.changesSinceLastLogin.users)"]) #elseif ($action.changesSinceLastLogin.numberOfChanges > 1) $action.getText('user.made.many.changes', ["#userList($action.changesSinceLastLogin.users)", "$action.changesSinceLastLogin.numberOfChanges"]) #end ($action.getText('view.name.smalls'))
#end #if ($action.changesSinceLastEdit && $action.changesSinceLastEdit.numberOfChanges > 0) $action.getText('since.you.last.edited'):
    #if ($action.changesSinceLastEdit.numberOfChanges == 1) $action.getText('user.made.one.change', ["#userList($action.changesSinceLastEdit.users)"]) #elseif ($action.changesSinceLastEdit.numberOfChanges > 1) $action.getText('user.made.many.changes', ["#userList($action.changesSinceLastEdit.users)", "$action.changesSinceLastEdit.numberOfChanges"]) #end ($action.getText('view.name.smalls'))
#end
#end #if (!$action.latestChanges.isEmpty()) #foreach ($change in $action.latestChanges) #if ($change.isVersionCommentAvailable()) #end #end
$action.getText('time.name') $action.getText('editor.name')  
$dateFormatter.formatDateTime($change.lastModificationDate) #userLink ($change.getContributors().get(0)) #if ($velocityCount != $action.latestChanges.size()) #set ($previousPageId = $action.latestChanges.get($velocityCount).id) $action.getText('view.changes') #else   #end
$change.renderedVersionComment
#else
$action.getText('no.changes.made')
#end
#if (($action.outgoingLinks && !$action.outgoingLinks.isEmpty()) || ($action.externalLinks && !$action.externalLinks.isEmpty()))
$helper.getText("action.page.outgoing.links")
#if ($action.externalLinks && !$action.externalLinks.isEmpty()) $action.getText('external.links', ["$action.externalLinks.size()"]) #foreach ($externalLink in $action.externalLinks)
    $action.renderUrlLink($externalLink) #end #end #foreach ($link in $action.outgoingLinks.asMap().entrySet()) #end
#set ($destSpace = false) #set ($destSpace = $link.key) #if ($destSpace) $webwork.htmlEncode($destSpace.name) ($link.value.size()) #foreach ($linkedPage in $link.value)     #contentLink2($linkedPage true false)
#end #else #end
#end
#end