#* Don't include this directly! Use ie. general-pagelist.vm instead. *# #set ($pageList = $stack.findValue($parameters.pages)) #set ($rawTitle = $!parameters.get('mytitle')) #if ($rawTitle) #set ($labelValue = $i18n.getText($rawTitle) ) #end #if (!$labelValue) #set ($labelValue = $!rawTitle) #end #if ("$!labelValue" != "")
#if ($showmore || $showless || $showrss)
  #if ($showrss)   #end #if ($showless) #end #if ($showmore) #end
#end #if ("$!labelValue" != "")

$labelValue

#else   #end
#end #if( !$pageList || $pageList.size()==0 ) #else #if ($textUtils.stringSet($statusMessage)) #end #if ($textUtils.stringSet($pageListDescription)) #end #foreach ($page in $pageList) #if ($previousLoginDate && $page.lastModificationDate.after($previousLoginDate)) #if( $page.isNew() ) #set ($colorHtml = 'style="color: #008800"') #elseif( $page.lastModificationDate ) #set ($colorHtml = 'style="color: #008800"') #end #else #set ($colorHtml = "") #end #end #end
$thereAreNoPages
$statusMessage
$pageListDescription
#set ($linkHref = "$req.contextPath$page.urlPath") #contentIcon2($page $colorHtml $linkHref $webwork.htmlEncode($page.displayTitle)) #if ($parentWindow) $webwork.htmlEncode($page.displayTitle) #else #if ($insertLink) #if ($page.type == 'blogpost') $webwork.htmlEncode($page.displayTitle) #elseif ($page.type == 'mail') $webwork.htmlEncode($page.displayTitle) #elseif ($page.type == 'attachment') $webwork.htmlEncode($page.displayTitle) #else $webwork.htmlEncode($page.displayTitle) #end #else #if($page.type == "status") $webwork.htmlEncode($page.displayTitle) #else $webwork.htmlEncode($generalUtil.trimDownStringToWord($page.displayTitle)) #end #end #end #if ($contentOther) #contentOther($page) #end #if ($displayChangeComments && $displayChangeComments == true) #if ($page.isVersionCommentAvailable() == true)
$page.renderedVersionComment
#end #if ($page.getComment())
$page.getComment()
#end #end #if ($showModifier == true) #if ($rightIcon) #else
#end $i18n.getText('recently.updated.by') #if ($parentWindow) #userLinkParentWindow ($page.lastModifier) #else #userLink ($page.lastModifier) #end (#if ($generalUtil.isInLastDays($page.lastModificationDate, 1))$generalUtil.getRelativeTime($page.lastModificationDate)#else$generalUtil.getFormatDateSimple($page.lastModificationDate)#end) #if ($rightIcon) #else
#end #end #if ($rightIcon) #set ($pageEntityId = $page.id) #set ($pageEntityType = $page.type) #if ($page.type == "spacedesc" || $page.type == "personalspacedesc") #set ($pageEntityId = $page.space.key) #set ($pageEntityType = "space") #elseif ($page.type == "blogpost") #set ($pageEntityType = "page") #end #end