{% extends 'server/status/base.twig' %} {% set active = 'variables' %} {% block content %} {% if is_data_loaded %}
{% trans 'Filters' %}
{{ get_hidden_inputs() }}
{% for variable in variables %} {% endfor %}
{% trans 'Variable' %} {% trans 'Value' %} {% trans 'Description' %}
{{ variable.name|replace({'_': ' '}) }} {{ variable.doc|raw }} {% if variable.has_alert %} {% endif %} {% if variable.name ends with '%' %} {{ format_number(variable.value, 0, 2) }} % {% elseif 'Uptime' in variable.name %} {{ timespan_format(variable.value) }} {% elseif variable.is_numeric and variable.value >= 1000 %} {{ format_number(variable.value, 3, 1) }} {% elseif variable.is_numeric %} {{ format_number(variable.value, 3, 1) }} {% else %} {{ variable.value }} {% endif %} {% if variable.has_alert %} {% endif %} {% if variable.has_alert %} {% endif %} {{ variable.value }} {% if variable.has_alert %} {% endif %} {{ variable.description }} {% for doc in variable.description_doc %} {% if doc.name == 'doc' %} {{ show_mysql_docu(doc.url) }} {% else %} {{ doc.name }} {% endif %} {% endfor %}
{% else %} {{ 'Not enough privilege to view status variables.'|trans|error }} {% endif %} {% endblock %}