#* @vtlvariable name="action" type="com.atlassian.confluence.admin.actions.SiteDarkFeaturesAction" *#
$i18n.getText('com.atlassian.confluence.admin.actions.SiteDarkFeaturesAction.action.name')
#requireResource("confluence.web.resources:aui-forms")
Dark Features
System Property Dark Features
These dark features are enabled via System properties and cannot be disabled here.
You must restart the server without the properties to disable these features.
#set ($systemFeatures = $action.systemEnabledFeatures)
#if ($systemFeatures.size() > 0)
#foreach($feature in $systemFeatures)
-
$feature
#end
#else
-
No system property features enabled
#end
Site Dark Features
These features are enabled for all users and cannot be disabled other than via this screen.
#set ($siteEnabledFeatures = $action.siteEnabledFeatures)
#if ($siteEnabledFeatures.size() > 0)
#foreach($feature in $siteEnabledFeatures)
-
$feature
(remove)
#end
#else
-
No site-wide features enabled
#end
#applyDecorator("form-aui")
#decoratorParam("formName" "editdarkfeatures")
#decoratorParam("submitAction" "enabledarkfeature.action")
#decoratorParam("editMode" "true")
#form_xsrfToken()
#tag( "Component" "label='Enable dark feature:'" "name='featureKey'" "value=$!action.featureKey" "theme='aui'" "template='text.vm'")
#bodytag( "Submit" "theme='aui'")
#param ("editMode" "true")
#end
#end