$!page.title

#set ($confPage = $action.page) #set ($helper = $action.helper) #set ($pageType = $confPage.getType()) #applyDecorator("root") #decoratorParam("helper" $helper) #decoratorParam("mode" "view-information") #decoratorParam("context" "$pageType")

$action.getText('title.name'): | $confPage.title | $action.getText("view.source")
$action.getText('author.name'): | #usernameLink($confPage.creatorName) | $dateFormatter.format($confPage.creationDate)
$action.getText('last.changed.by'): | #usernameLink($confPage.lastModifierName) | $dateFormatter.format( $confPage.lastModificationDate )
#if ($tinyUrl)
$action.getText('tiny.link'): $action.getText('tiny.link.desc') | #tinyLink()
#end #set ($exportItems = $webInterfaceManager.getDisplayableItems("system.page.operations.export", $action.webInterfaceContext)) #if (!$exportItems.isEmpty())
$action.getText('export.as'): | #foreach ($item in $exportItems) #if ($velocityCount > 1) | #end #set ($itemLabel = $item.label.getDisplayableLabel($req, $action.webInterfaceContext)) #set ($itemRenderedUrl = $item.link.getDisplayableUrl($req, $action.webInterfaceContext)) $itemLabel #end |
#end #set ($sectionKey = "system.page.operations") #set ($displayableItems = $webInterfaceManager.getDisplayableItems($sectionKey, $action.webInterfaceContext)) #if (!$displayableItems.isEmpty())
$action.getText('operations.word'): | #foreach($item in $displayableItems) #set ($itemLabel = $item.label.getDisplayableLabel($req, $action.webInterfaceContext)) #set ($itemRenderedUrl = $item.link.getDisplayableUrl($req, $action.webInterfaceContext)) $itemLabel #end
#end #if (!$helper.action.incomingLinksMap.isEmpty() || !$helper.action.trackbackLinks.isEmpty()) $helper.getText("action.page.incoming.links") #foreach ($link in $helper.action.incomingLinksMap.entrySet())
#set ($destSpace = false) #set ($destSpace = $link.key) #if ($destSpace) $webwork.htmlEncode($destSpace.name) ($link.value.size()) #contentOther($helper.action.getDestinationContentEntity($destSpace)) #foreach ($linkedPage in $link.value) #contentLink2($linkedPage true false) #end #end
#end #if (!$helper.action.trackbackLinks.isEmpty())
$action.getText("action.page.trackback.links") #foreach ($link in $helper.action.trackbackLinks) #contentIcon ($link) $link.title $!link.blogName $!generalUtil.shortenString($link.excerpt,200) #end
#end #end #if ($helper.action.getPermittedChildren().size() > 0 || $page.parent) $action.getText('hierarchy.word') #if( $page.parent )
$helper.getText("parent.title") #contentLink2 ($page.parent true false)
#end #if( $helper.action.getPermittedChildren().size() > 0) #set ($children = $helper.action.getPermittedChildren()) #set ($displayCount = $helper.action.initialVisibleChildCount)
$helper.getText("children.title") ($children.size()) #foreach ($child in $children) #if ($velocityCount <= $displayCount) #contentLink2 ($child true false) #end #end #if($children.size() > $displayCount) $action.getText('show.all') #foreach ($child in $children) #if ($velocityCount > $displayCount) #contentLink2 ($child true false) #end #end $action.getText('hide.name') #end
#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()) #foreach ($label in $globalLabels)#if ($velocityCount > 1), #end#labelLink($label)#end #end #if ($userLabels.size() > 0) $action.getText('personal.labels') ($userLabels.size()) #foreach ($label in $userLabels)#if ($velocityCount > 1), #end#labelLink($label)#end #end #else $helper.getText("action.no.labels") #end #if ($page.permissions.size() > 0 || $action.inheritedContentPermissions.size() > 0) $action.getText('page.permissions') #if ($page.permissions.size() > 0) $action.getText('page.restrictions'): #foreach ($permission in $page.permissions) #if ($permission.isGroupPermission()) $action.getText('only.users.in.group.can.action',["$permission.groupName","$permission.type.toLowerCase()"]) #else $action.getText('only.user.can.action', ["$permission.userName","$permission.type.toLowerCase()"]) #end (set by #usernameLink($permission.creatorName) at $dateFormatter.formatDateTime($permission.creationDate)) #if( $permissionCheckDispatcher.isPermitted("/pages/removepagepermission.action?pageId=$page.id&permissionId=$permission.id") ) #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.userName","$permission.type.toLowerCase()"]) #end #end #end #end #if ($helper.action.hotReferrers && !$helper.action.hotReferrers.isEmpty()) $helper.getText("action.page.hot.referrers") #foreach ($referer in $helper.action.hotReferrers)
($referer.viewCount) | $helper.action.renderReferralLink($referer) #if( $permissionCheckDispatcher.isPermitted("/admin/ban_referrer_pageinfo.action") ) | [$action.getText('ban.word')] #end
#end #end | #if (!$helper.action.latestChanges.isEmpty()) $action.getText('recent.changes') #else $action.getText('recent.changes') #end #if ($helper.action.changesSinceLastLogin) #if ($helper.action.changesSinceLastLogin.numberOfChanges > 0) $action.getText('since.you.last.logged.in'): #if ($helper.action.changesSinceLastLogin.numberOfChanges == 1) $action.getText('user.made.one.change', ["#nameList($helper.action.changesSinceLastLogin.usersWhoMadeChanges)"]) #elseif ($helper.action.changesSinceLastLogin.numberOfChanges > 1) $action.getText('user.made.many.changes', ["#nameList($helper.action.changesSinceLastLogin.usersWhoMadeChanges)", "$helper.action.changesSinceLastLogin.numberOfChanges"]) #end ($action.getText('view.name.smalls')) #end #if ($helper.action.changesSinceLastEdit && $helper.action.changesSinceLastEdit.numberOfChanges > 0) $action.getText('since.you.last.edited'): #if ($helper.action.changesSinceLastEdit.numberOfChanges == 1) $action.getText('user.made.one.change', ["#nameList($helper.action.changesSinceLastEdit.usersWhoMadeChanges)"]) #elseif ($helper.action.changesSinceLastEdit.numberOfChanges > 1) $action.getText('user.made.many.changes', ["#nameList($helper.action.changesSinceLastEdit.usersWhoMadeChanges)", "$helper.action.changesSinceLastEdit.numberOfChanges"]) #end ($action.getText('view.name.smalls')) #end #end #if (!$helper.action.latestChanges.isEmpty())
$action.getText('time.name') | $action.getText('editor.name') |
--- | --- | ---
#foreach ($change in $helper.action.latestChanges)
$dateFormatter.formatDateTime($change.lastModificationDate) | #usernameLink ($change.lastModifierName) | #if ($velocityCount != $helper.action.latestChanges.size()) #set ($previousPageId = $helper.action.latestChanges.get($velocityCount).id) $action.getText('view.changes') #else #end
#if ($change.isVersionCommentAvailable())
$change.renderedVersionComment
#end #end $action.getText('view.page.history') #else $action.getText('no.changes.made') #end #if (($action.outgoingLinks && !$action.outgoingLinks.isEmpty()) || ($helper.action.externalLinks && !$helper.action.externalLinks.isEmpty())) $helper.getText("action.page.outgoing.links") #if ($helper.action.externalLinks && !$helper.action.externalLinks.isEmpty()) $action.getText('external.links', ["$helper.action.externalLinks.size()"]) #foreach ($externalLink in $helper.action.externalLinks)
$helper.action.renderUrlLink($externalLink) #end #end #foreach ($link in $helper.action.outgoingLinks.entrySet())
#set ($destSpace = false) #set ($destSpace = $link.key) #if ($destSpace) $webwork.htmlEncode($destSpace.name) ($link.value.size()) #contentOther($helper.action.getDestinationContentEntity($destSpace)) #foreach ($linkedPage in $link.value) #contentLink2($linkedPage true false) #end #else #end
#end #end

#end