$generalUtil.htmlEncode($pageTitle)

#applyDecorator("root") #decoratorParam("context" "profile") #decoratorParam("mode" "drafts") #decoratorParam("helper" $action.helper) #decoratorParam("infopanel-width" "200px")

$action.getText('viewdrafts.page.desc') #if ($drafts.isEmpty())
$action.getText('no.drafts.found')
#else
| $action.getText('title.name') | $action.getText('last.saved.date') | $action.getText('heading.operations')
--- | --- | --- | ---
#foreach ($draft in $drafts)
#typeIcon($draft.draftType) | #if ("$!{draft.title}" != "") $!{draft.title} #else $action.getText('untitled.draft.title') #end | $generalUtil.getRelativeTime($draft.lastModificationDate) | #if ($draftManager.isMergeRequired($draft)) #if ($draftManager.getMergedContent($draft)) $action.getText('merge.and.resume') #else $action.getText('view.conflict') #end #else $action.getText('resume.editing') #end | $action.getText('delete.name')
#end #end

#end