{# # ------------------------------------------------------------------------- # Fields plugin for GLPI # ------------------------------------------------------------------------- # # LICENSE # # This file is part of Fields. # # Fields is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # Fields is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Fields. If not, see . # ------------------------------------------------------------------------- # @copyright Copyright (C) 2013-2022 by Fields plugin team. # @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html # @link https://github.com/pluginsGLPI/fields # ------------------------------------------------------------------------- #} {% import 'components/form/fields_macros.html.twig' as fields %} {% set rand = random() %}
{% if has_fields %}
{% endif %} {{ fields.largeTitle(__('Status overrides', 'fields'), '', false) }}
{% if overrides|length > 0 %} {% for override in overrides %} {% endfor %} {% else %} {% endif %}
{{ __('Item type') }} {{ __('Field') }} {{ __('Status') }} {{ __('Mandatory') }} {{ __('Read only') }}
{{ override.itemtype }} {{ override.field_name }} {{ override.status_names|join(', ') }} {{ override.mandatory ? __('Yes') : __('No') }} {{ override.is_readonly ? __('Yes') : __('No') }}
{{ __('No item found', 'fields') }}
{# .row #}
{# .row #}
{# .flex-row #}
{# .card-body #}