From 04a7c34fa390ca3747d784957bcc20e795fb009a Mon Sep 17 00:00:00 2001 From: "h.matsuo" Date: Tue, 8 Jun 2021 10:45:23 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E5=95=86=E5=93=81=E4=B8=80=E8=A6=A7?= =?UTF-8?q?=E3=83=BB=E5=95=86=E5=93=81=E8=A9=B3=E7=B4=B0=E3=83=9A=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=81=AE=E5=95=86=E5=93=81=E7=94=BB=E5=83=8F=20img?= =?UTF-8?q?=E3=82=BF=E3=82=B0=E3=81=AB=E3=80=81alt=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Eccube/Resource/template/default/Product/detail.twig | 6 +++--- src/Eccube/Resource/template/default/Product/list.twig | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Eccube/Resource/template/default/Product/detail.twig b/src/Eccube/Resource/template/default/Product/detail.twig index 72533ccb38f..1d0f017307f 100755 --- a/src/Eccube/Resource/template/default/Product/detail.twig +++ b/src/Eccube/Resource/template/default/Product/detail.twig @@ -224,14 +224,14 @@ file that was distributed with this source code.
{% for ProductImage in Product.ProductImage %} -
+
{{ Product.name }}
{% else %} -
+
{{ Product.name }}
{% endfor %}
{% for ProductImage in Product.ProductImage %} -
+
{{ Product.name }}
{% endfor %}
diff --git a/src/Eccube/Resource/template/default/Product/list.twig b/src/Eccube/Resource/template/default/Product/list.twig index 9f47f2d03cf..998b9c33885 100644 --- a/src/Eccube/Resource/template/default/Product/list.twig +++ b/src/Eccube/Resource/template/default/Product/list.twig @@ -154,7 +154,7 @@ file that was distributed with this source code.
  • - + {{ Product.name }}

    {{ Product.name }}

    {% if Product.description_list %} From 63c0629b222c797adc0d6100ec61db10a10680af Mon Sep 17 00:00:00 2001 From: "h.matsuo" Date: Mon, 28 Jun 2021 11:39:58 +0900 Subject: [PATCH 2/2] =?UTF-8?q?alt=20=E3=81=AB=E5=95=86=E5=93=81=E5=90=8D?= =?UTF-8?q?=E3=82=92=E5=85=A5=E3=82=8C=E3=82=8B=E7=94=BB=E5=83=8F=E3=81=AE?= =?UTF-8?q?=E5=AF=BE=E8=B1=A1=E3=82=92=E6=B8=9B=E3=82=89=E3=81=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Eccube/Resource/template/default/Product/detail.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Eccube/Resource/template/default/Product/detail.twig b/src/Eccube/Resource/template/default/Product/detail.twig index 1d0f017307f..c621bbefc2a 100755 --- a/src/Eccube/Resource/template/default/Product/detail.twig +++ b/src/Eccube/Resource/template/default/Product/detail.twig @@ -224,14 +224,14 @@ file that was distributed with this source code.
    {% for ProductImage in Product.ProductImage %} -
    {{ Product.name }}
    +
    {{ loop.first ? Product.name : '' }}
    {% else %} -
    {{ Product.name }}
    +
    {{ loop.first ? Product.name : '' }}
    {% endfor %}
    {% for ProductImage in Product.ProductImage %} -
    {{ Product.name }}
    +
    {% endfor %}