Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,235 @@
<?php
/* @PrestaShop/Admin/Improve/Payment/PaymentMethods/Blocks/payment_modules_list.html.twig */
class __TwigTemplate_6f7a60af8bcfc2c86a930eea9a940e656a6c803a8d9717e24be2d2c20d43fb5d extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
'payment_methods_module_list' => array($this, 'block_payment_methods_module_list'),
);
}
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_3aa6662bfd7ab79d3da2546d67d129e5098260e9adaf3648dc4b6172c7f537db = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_3aa6662bfd7ab79d3da2546d67d129e5098260e9adaf3648dc4b6172c7f537db->enter($__internal_3aa6662bfd7ab79d3da2546d67d129e5098260e9adaf3648dc4b6172c7f537db_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Improve/Payment/PaymentMethods/Blocks/payment_modules_list.html.twig"));
$__internal_b58a87ce1d7433e41098109d5122a8d50b23b72ea471a283e41a9b3124adab76 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_b58a87ce1d7433e41098109d5122a8d50b23b72ea471a283e41a9b3124adab76->enter($__internal_b58a87ce1d7433e41098109d5122a8d50b23b72ea471a283e41a9b3124adab76_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Improve/Payment/PaymentMethods/Blocks/payment_modules_list.html.twig"));
// line 26
echo "
";
// line 27
$this->displayBlock('payment_methods_module_list', $context, $blocks);
$__internal_3aa6662bfd7ab79d3da2546d67d129e5098260e9adaf3648dc4b6172c7f537db->leave($__internal_3aa6662bfd7ab79d3da2546d67d129e5098260e9adaf3648dc4b6172c7f537db_prof);
$__internal_b58a87ce1d7433e41098109d5122a8d50b23b72ea471a283e41a9b3124adab76->leave($__internal_b58a87ce1d7433e41098109d5122a8d50b23b72ea471a283e41a9b3124adab76_prof);
}
public function block_payment_methods_module_list($context, array $blocks = array())
{
$__internal_af2e4be286d4d5314ff74fcb10266c44d732681785da2f2ee237195226360722 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_af2e4be286d4d5314ff74fcb10266c44d732681785da2f2ee237195226360722->enter($__internal_af2e4be286d4d5314ff74fcb10266c44d732681785da2f2ee237195226360722_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "payment_methods_module_list"));
$__internal_ac562dce3ad7f4eab3edadf48cbb07a6d88d6e616ef1a0f91b6ca77af5820b0a = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_ac562dce3ad7f4eab3edadf48cbb07a6d88d6e616ef1a0f91b6ca77af5820b0a->enter($__internal_ac562dce3ad7f4eab3edadf48cbb07a6d88d6e616ef1a0f91b6ca77af5820b0a_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "payment_methods_module_list"));
// line 28
echo " ";
if ((twig_length_filter($this->env, ($context["paymentModules"] ?? $this->getContext($context, "paymentModules"))) > 0)) {
// line 29
echo " <div class=\"module-item-list\">
";
// line 30
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["paymentModules"] ?? $this->getContext($context, "paymentModules")));
foreach ($context['_seq'] as $context["_key"] => $context["module"]) {
// line 31
echo " <div class=\"row module-item-wrapper-list border-bottom mb-sm-3\">
<div class=\"col-12 col-sm-2 col-md-1 col-lg-1\">
<div class=\"module-logo-thumb-list text-center\">
<img src=\"";
// line 34
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["module"], "attributes", array()), "img", array()), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["module"], "attributes", array()), "displayName", array()), "html", null, true);
echo "\"/>
</div>
</div>
<div class=\"col-12 col-sm-6 col-md-8 col-lg-9 pl-0\">
<p class=\"mb-0\">
";
// line 39
echo $this->getAttribute($this->getAttribute($context["module"], "attributes", array()), "displayName", array());
echo "
<span class=\"text-muted\">
";
// line 41
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("v%version% - by %author%", array("%version%" => $this->getAttribute($this->getAttribute($context["module"], "attributes", array()), "version", array()), "%author%" => $this->getAttribute($this->getAttribute($context["module"], "attributes", array()), "author", array())), "Admin.Modules.Feature"), "html", null, true);
echo "
</span>
</p>
<p class=\"text-muted\">
";
// line 45
echo $this->getAttribute($this->getAttribute($context["module"], "attributes", array()), "description", array());
echo "
</p>
</div>
";
// line 48
if ($this->getAttribute($this->getAttribute($context["module"], "attributes", array()), "is_configurable", array())) {
// line 49
echo " <div class=\"col-12 col-sm-4 col-md-3 col-lg-2 mb-3\">
<div class=\"text-center\">
<a href=\"";
// line 51
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_module_configure_action", array("module_name" => $this->getAttribute($this->getAttribute($context["module"], "attributes", array()), "name", array()))), "html", null, true);
echo "\"
class=\"btn btn-primary-reverse btn-outline-primary light-button\"
>
";
// line 54
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Configure", array(), "Admin.Global"), "html", null, true);
echo "
</a>
</div>
</div>
";
}
// line 59
echo " </div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 61
echo " </div>
";
} else {
// line 63
echo " <div class=\"alert alert-warning\" role=\"alert\">
<p class=\"alert-text\">
";
// line 65
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("It seems there are no recommended payment solutions for your country.", array(), "Admin.Payment.Notification"), "html", null, true);
echo " <br>
<a class=\"_blank\" href=\"https://www.prestashop.com/en/contact-us\">";
// line 66
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Do you think there should be one? Let us know!", array(), "Admin.Shipping.Feature"), "html", null, true);
echo "</a>
</p>
</div>
";
}
$__internal_ac562dce3ad7f4eab3edadf48cbb07a6d88d6e616ef1a0f91b6ca77af5820b0a->leave($__internal_ac562dce3ad7f4eab3edadf48cbb07a6d88d6e616ef1a0f91b6ca77af5820b0a_prof);
$__internal_af2e4be286d4d5314ff74fcb10266c44d732681785da2f2ee237195226360722->leave($__internal_af2e4be286d4d5314ff74fcb10266c44d732681785da2f2ee237195226360722_prof);
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Improve/Payment/PaymentMethods/Blocks/payment_modules_list.html.twig";
}
public function getDebugInfo()
{
return array ( 129 => 66, 125 => 65, 121 => 63, 117 => 61, 110 => 59, 102 => 54, 96 => 51, 92 => 49, 90 => 48, 84 => 45, 77 => 41, 72 => 39, 62 => 34, 57 => 31, 53 => 30, 50 => 29, 47 => 28, 29 => 27, 26 => 26,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("{#**
* 2007-2018 PrestaShop
*
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*#}
{% trans_default_domain 'Admin.Payment.Feature' %}
{% block payment_methods_module_list %}
{% if paymentModules|length > 0 %}
<div class=\"module-item-list\">
{% for module in paymentModules %}
<div class=\"row module-item-wrapper-list border-bottom mb-sm-3\">
<div class=\"col-12 col-sm-2 col-md-1 col-lg-1\">
<div class=\"module-logo-thumb-list text-center\">
<img src=\"{{ module.attributes.img }}\" alt=\"{{ module.attributes.displayName }}\"/>
</div>
</div>
<div class=\"col-12 col-sm-6 col-md-8 col-lg-9 pl-0\">
<p class=\"mb-0\">
{{ module.attributes.displayName|raw }}
<span class=\"text-muted\">
{{ 'v%version% - by %author%'|trans({ '%version%' : module.attributes.version, '%author%' : module.attributes.author}, 'Admin.Modules.Feature') }}
</span>
</p>
<p class=\"text-muted\">
{{ module.attributes.description|raw }}
</p>
</div>
{% if module.attributes.is_configurable %}
<div class=\"col-12 col-sm-4 col-md-3 col-lg-2 mb-3\">
<div class=\"text-center\">
<a href=\"{{ path('admin_module_configure_action', {'module_name': module.attributes.name}) }}\"
class=\"btn btn-primary-reverse btn-outline-primary light-button\"
>
{{ 'Configure'|trans({}, 'Admin.Global') }}
</a>
</div>
</div>
{% endif %}
</div>
{% endfor %}
</div>
{% else %}
<div class=\"alert alert-warning\" role=\"alert\">
<p class=\"alert-text\">
{{ 'It seems there are no recommended payment solutions for your country.'|trans({}, 'Admin.Payment.Notification') }} <br>
<a class=\"_blank\" href=\"https://www.prestashop.com/en/contact-us\">{{ 'Do you think there should be one? Let us know!'|trans({}, 'Admin.Shipping.Feature') }}</a>
</p>
</div>
{% endif %}
{% endblock %}
", "@PrestaShop/Admin/Improve/Payment/PaymentMethods/Blocks/payment_modules_list.html.twig", "/var/www/clients/client1/web14/web/src/PrestaShopBundle/Resources/views/Admin/Improve/Payment/PaymentMethods/Blocks/payment_modules_list.html.twig");
}
}