$action.getActionName($action.getClass().getName())

#requireResource("confluence.web.resources:ajs") #requireResource("confluence.web.resources:jquery-progressbar") #requireResource("confluence.sections.admin.indexing:resources")
#macro (indexStatus $idPrefix)
$action.getText('admin.indexing.built')
$action.getText('admin.indexing.not.built')
$action.getText('admin.indexing.in.progress')…
#end #macro (overlay $idPrefix)
#end #set ($selectedTab = "summary") #parse("/admin/indexing/indexing-tabs.vm")
#overlay("search")

## $action.getText('admin.indexing.search.index')

$action.getText('admin.indexing.search.index.desc')

#set ($searchIndexExists = $action.searchIndexExists()) #set ($searchIndexBuildInProgress = $action.isSearchIndexBuildInProgress()) #if ($searchIndexExists) #set ($searchIndexSubmitButtonName = $action.getText('admin.indexing.rebuild')) #else #set ($searchIndexSubmitButtonName = $action.getText('admin.indexing.build')) #end #indexStatus("search-index")
($action.getText('elapsed.time'): $!action.getLastSearchIndexRebuildElapsedTime())
#form_xsrfToken() #if ($searchIndexBuildInProgress) #end #if ($searchIndexExists) #end
#overlay("dym")

## $action.getText('admin.indexing.dym.index')

$action.getText('admin.indexing.dym.index.desc', ['', ''])

#form_xsrfToken() #set ($dymIndexExists = $action.didYouMeanIndexExists()) #if ($dymIndexExists) #set ($dymSubmitButtonName = $action.getText('admin.indexing.rebuild')) #else #set ($dymSubmitButtonName = $action.getText('admin.indexing.build')) #end #indexStatus("dym-index")
($action.getText('elapsed.time'): $!action.getLastDidYouMeanIndexRebuildElapsedTime())
#if ($action.isDidYouMeanIndexBuildInProgress()) #end #if ($dymIndexExists) #end #if ($action.isReadyToBuildDidYouMeanIndex()) #end #if ($action.isLanguageCorrectForDidYouMean()) #end
#parse("/breadcrumbs.vm")