src/Eccube/Resource/template/default/Help/about.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. {% extends 'default_frame.twig' %}
  9. {% block main %}
  10. <div class="ec-role">
  11.     <div class="ec-pageHeader">
  12.         <h1>{{ '当サイトについて'|trans }}</h1>
  13.     </div>
  14.     <div class="ec-off1Grid">
  15.         <div class="ec-off1Grid__cell">
  16.             <div class="ec-borderedDefs">
  17.                 {% if BaseInfo.shop_name|default is not empty %}
  18.                     <dl id="help_about_box__shop_name">
  19.                         <dt>
  20.                             <label class="ec-label">{{ '店名'|trans }}</label>
  21.                         </dt>
  22.                         <dd>{{ BaseInfo.shop_name }}</dd>
  23.                     </dl>
  24.                 {% endif %}
  25.                 {% if BaseInfo.company_name|default is not empty %}
  26.                     <dl id="help_about_box__company_name">
  27.                         <dt>
  28.                             <label class="ec-label">{{ '会社名'|trans }}</label>
  29.                         </dt>
  30.                         <dd>{{ BaseInfo.company_name }}</dd>
  31.                     </dl>
  32.                 {% endif %}
  33.                 {% if BaseInfo.postal_code|default is not empty %}
  34.                     <dl id="help_about_box__address">
  35.                         <dt>
  36.                             <label class="ec-label">{{ '住所'|trans }}</label>
  37.                         </dt>
  38.                         <dd>{{ '〒'|trans }}{{ BaseInfo.postal_code }}<br />
  39.                             {{ BaseInfo.pref }}{{ BaseInfo.addr01 }}{{ BaseInfo.addr02 }}
  40.                         </dd>
  41.                     </dl>
  42.                 {% endif %}
  43.                 {% if BaseInfo.phone_number|default is not empty %}
  44.                     <dl id="help_about_box__phone_number">
  45.                         <dt>
  46.                             <label class="ec-label">{{ '電話番号'|trans }}</label>
  47.                         </dt>
  48.                         <dd>{{ BaseInfo.phone_number }}</dd>
  49.                     </dl>
  50.                 {% endif %}
  51.                 {% if BaseInfo.business_hour|default is not empty %}
  52.                     <dl id="help_about_box__business_hour">
  53.                         <dt>
  54.                             <label class="ec-label">{{ '店舗営業時間'|trans }}</label>
  55.                         </dt>
  56.                         <dd>{{ BaseInfo.business_hour }}</dd>
  57.                     </dl>
  58.                 {% endif %}
  59.                 {% if BaseInfo.good_traded|default is not empty %}
  60.                     <dl id="help_about_box__good_traded">
  61.                         <dt>
  62.                             <label class="ec-label">{{ '取り扱い商品'|trans }}</label>
  63.                         </dt>
  64.                         <dd>{{ BaseInfo.good_traded|nl2br }}</dd>
  65.                     </dl>
  66.                 {% endif %}
  67.                 {% if BaseInfo.message|default is not empty %}
  68.                     <dl id="help_about_box__message">
  69.                         <dt>
  70.                             <label class="ec-label">{{ 'メッセージ'|trans }}</label>
  71.                         </dt>
  72.                         <dd>{{ BaseInfo.message|nl2br }}</dd>
  73.                     </dl>
  74.                 {% endif %}
  75.             </div>
  76.         </div>
  77.     </div>
  78. </div>
  79. {% endblock %}