$action.getText("label.view.title", [$label.name])

#if ($action.space) #set ($decoratorContext = "space-labels") #set ($location = "system.space.labels") #else #set ($decoratorContext = "labels") #set ($location = "system.labels") #end
#applyDecorator("root") #decoratorParam("context" $decoratorContext) #decoratorParam("helper" $action.helper)

#parse ("/labels/includes/sectionlinks.vm") #if ($action.space.key) $action.getText("content.with.label.in.space", ["$!label.name", "$webwork.htmlEncode($action.space.name)", "$req.contextPath$label.urlPath"]) #else $action.getText("all.content.with.label", ["$!label.name"]) #end #if ($related.size() > 0) $action.getText("related.name"): #set ($relatedMore = "no") #foreach($relatedLabel in $related)#if($velocityCount > 1), #end #if ($velocityCount == 20) #set ($relatedMore = "yes") #end $generalUtil.htmlEncode($relatedLabel.realTitle)#end #if ($relatedMore == "yes") more » #end #else $action.getText("macros.relatedlabels.no.labels") #end #if ($action.labels.size() > 1) ( #foreach($label in $action.labels)#if($velocityCount > 1), #end - $generalUtil.htmlEncode($label.realTitle)#end ) #end #set($ps = $action.paginationSupport) #set($paginationUrl = "$req.contextPath/$action.paginationUrl") #if($ps) #pagination($ps $paginationUrl) #if(!$action.preloadedPage || $action.preloadedPage.size() == 0)
$action.getText("there.are.no.pages")
#else #foreach( $content in $action.preloadedPage)
#if ($action.space) #contentLink2( $content true false ) #else #contentLink( $content ) #end #if ($content.type != "attachment") #set ($encodedSummary = $generalUtil.htmlEncode($generalUtil.wordWrap($content.excerpt, 75))) #elseif ($content.type == "attachment" && $content.comment) #set ($encodedSummary = $generalUtil.htmlEncode($content.comment)) #end $encodedSummary #set ($otherLabels = $action.getOtherLabels($content)) #if ($otherLabels.size() > 0) $action.getText("other.labels") #foreach ($otherLabel in $otherLabels)#if ($velocityCount == 9) ...#elseif($velocityCount > 1), #end#if ($velocityCount < 9)#labelLink($otherLabel)#end#end #end #set ($datedObject = $content) #if ($content.type == "spacedesc" || $content.type == "personalspacedesc") #set ($datedObject = $content.space) #end
#end #end #pagination($ps $paginationUrl) #end | #parse( "/labels/includes/labels-sidebar.vm" )

#end