#* @vtlvariable name="action" type="com.atlassian.confluence.admin.actions.ViewOrUpdateLicenseAction" *# #* @vtlvariable name="dateFormatter" type="com.atlassian.confluence.core.DateFormatter" *# #* @vtlvariable name="confluenceLicense" type="com.atlassian.extras.api.confluence.ConfluenceLicense" *# #* @vtlvariable name="userChecker" type="com.atlassian.confluence.util.DefaultUserChecker" *# $action.getActionName($action.getClass().getName()) #requireResource("confluence.web.resources:licensedetails") license #parse ("/template/includes/actionerrors.vm")

$action.getText("license.page.description.title")

#if ($confluenceLicense) #set($tooManyUsers = $userChecker.hasTooManyUsers()) #if ($userChecker.isRunning()) #else #end #if ($action.evaluationLicense) #if ($confluenceLicense.expired) #else #end #else #end #if ($!confluenceLicense.partnerName) #end #else #end
$action.getText("license.organisation") $confluenceLicense.organisation.name
$action.getText("license.datepurchased") $dateFormatter.format($confluenceLicense.purchaseDate)
$action.getText("license.type") #if ($confluenceLicense.description) $confluenceLicense.description #else $confluenceLicense.licenseType.name() #end
$action.getText("license.users")

$action.getText("license.users.calculating")

#if ($userChecker.unlimitedUserLicense) $action.getText("license.users.unlimited") #else $confluenceLicense.maximumNumberOfUsers #end #if (!$userChecker.unlimitedUserLicense) $action.getText("license.currently.signed.up", [$userChecker.getNumberOfRegisteredUsers()]) $action.getText("license.usercount") #if (!$userChecker.isRunning())
#end #end #if ($tooManyUsers)

$action.getText("license.too.many.users", [ "$req.contextPath/admin/users/browseusers.action", $action.getText('url.atlassian'), $action.getText('hitcounter.buy.upgrade'), "$action.getText('mailto.sales')?subject=Confluence License Upgrade" ])

$action.getText("buy.upgrade", [$action.getText('hitcounter.buy.upgrade')]) $action.getText("license.upgrades", [$action.getText('hitcounter.license.upgrades')])

$action.getText("contact.us", [$action.getText('mailto.sales')]) #end
$action.getText("license.expiration") $action.getText("evaluation.expired", [$dateFormatter.format($confluenceLicense.expiryDate)])
$action.getText("contact.atlassian.to.purchase", [$action.getText("mailto.sales")])
$action.getText("evaluation.expires.in", [$action.expiryTime]) $action.getText("license.supportperiod") #if ($action.hasSupportPeriodExpired) $action.getText('confluence.support.has.ended',[$dateFormatter.format($action.supportPeriodEnd)])

$action.getText('buy.renewal', [$action.getText('hitcounter.buy.renewal')]) $action.getText('why.renew', [$action.getText('hitcounter.why.renew')])

$action.getText('contact.us', [$action.getText('mailto.sales')]) #else $action.getText("support.ends.on", [$dateFormatter.format($action.supportPeriodEnd)]) $action.getText("license.editing.help") #end
$action.getText("license.support.entitlement.number.label") $!action.confluenceLicense.supportEntitlementNumber
$action.getText("server.id") $action.sid ($action.getText("server.id.description"))
$action.getText("license.partner") $!confluenceLicense.partnerName

$action.getText("no.valid.license")

$action.getText("enter.key.below", [$action.getText('url.atlassian.software.confluence')])

$action.getText("license.update")

$action.getText("license.update.description.info")

#form_xsrfToken()
#fielderror('licenseString')
#bodytag( "Submit" "theme='aui'") #param ("editName" "update") #param ("editValue" "$i18n.getText('update.name')") #end
#parse("/breadcrumbs.vm")