{# This file is part of the YesWeHack BugBounty backend (c) Romain Honel For the full copyright and license information, please view the LICENSE file that was distributed with this source code. #} {% extends admin.getTemplate('base_list_field') %} {% block field %} {% spaceless %} {% set styles = ['info', 'success', 'warning', 'danger'] %} {% set style = field_description.options.style is defined and field_description.options.style in styles ? ' progress-bar-' ~ field_description.options.style : '' %} {% set striped = field_description.options.striped is defined and field_description.options.striped == true ? ' progress-striped' : '' %} {% set suffix = field_description.options.suffix is defined ? field_description.options.suffix : '' %}
{{ value ?: 0 }}{{ suffix }}
{% endspaceless %} {% endblock %}