{#**
 * 2007-2019 PrestaShop and Contributors
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://www.prestashop.com for more information.
 *
 * @author    PrestaShop SA <contact@prestashop.com>
 * @copyright 2007-2019 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
 *#}

{% extends '@PrestaShop/Admin/layout.html.twig' %}
{% trans_default_domain 'Admin.International.Feature' %}

{% set addUpdateLanguageForm, copyLanguageForm, exportLanguageForm, modifyTranslationsForm =
        translationSettingsForm.add_update_language, translationSettingsForm.copy_language,
        translationSettingsForm.export_language, translationSettingsForm.modify_translations
%}

{% block content %}
  <div class="row justify-content-center">
    <div class="col-xl-10">
      <div class="card">
        {% block translations_kpis_row %}
          <div class="row">
            {{ render(controller(
              'PrestaShopBundle:Admin\\Common:renderKpiRow',
              { 'kpiRow': kpiRow }
            )) }}
          </div>
        {% endblock %}
      </div>
    </div>

    <div class="col-xl-10">
      {% include '@PrestaShop/Admin/Improve/International/Translations/Blocks/modify_translations.html.twig' %}
    </div>

    <div class="col-xl-10">
      {% include '@PrestaShop/Admin/Improve/International/Translations/Blocks/add_update_language.html.twig' %}
    </div>

    <div class="col-xl-10">
      {% include '@PrestaShop/Admin/Improve/International/Translations/Blocks/export_language.html.twig' %}
    </div>

    <div class="col-xl-10">
      {% include '@PrestaShop/Admin/Improve/International/Translations/Blocks/copy_language.html.twig' %}
    </div>
  </div>
{% endblock %}

{% block javascripts %}
  {{ parent() }}

  <script src="{{ asset('themes/new-theme/public/translation_settings.bundle.js') }}"></script>
{% endblock %}
