app/template/myTemplate/Block/login_sp.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. <div class="ec-headerLinkArea">
  9.     <div class="ec-headerLink__list">
  10.         <a class="ec-headerLink__item" href="{{ url('cart') }}">
  11.             <div class="ec-headerLink__icon">
  12.                 <i class="fas fa-shopping-cart fa-fw"></i>
  13.             </div>
  14.             <span>{{ 'カートを見る'|trans }}</span>
  15.         </a>
  16.         {% if is_granted('ROLE_USER') %}
  17.             <a class="ec-headerLink__item" href="{{ url('mypage') }}">
  18.                 <div class="ec-headerLink__icon">
  19.                     <i class="fas fa-user fa-fw"></i>
  20.                 </div>
  21.                 <span>{{ 'マイページ'|trans }}</span>
  22.             </a>
  23.             {% if BaseInfo.option_favorite_product %}
  24.                 <a class="ec-headerLink__item" href="{{ url('mypage_favorite') }}">
  25.                     <div class="ec-headerLink__icon">
  26.                         <i class="fas fa-heart fa-fw"></i>
  27.                     </div>
  28.                     <span>{{ 'お気に入り'|trans }}</span>
  29.                 </a>
  30.             {% endif %}
  31.             <a class="ec-headerLink__item" href="{{ url('logout') }}">
  32.                 <div class="ec-headerLink__icon">
  33.                     <i class="fas fa-lock fa-fw"></i>
  34.                 </div>
  35.                 <span>{{ 'ログアウト'|trans }}</span>
  36.             </a>
  37.         {% else %}
  38.             <a class="ec-headerLink__item" href="{{ url('entry') }}">
  39.                 <div class="ec-headerLink__icon">
  40.                     <i class="fas fa-user fa-fw"></i>
  41.                 </div>
  42.                 <span>{{ '新規会員登録'|trans }}</span>
  43.             </a>
  44.             {% if BaseInfo.option_favorite_product %}
  45.                 <a class="ec-headerLink__item" href="{{ url('mypage_favorite') }}">
  46.                     <div class="ec-headerLink__icon">
  47.                         <i class="fas fa-heart fa-fw"></i>
  48.                     </div>
  49.                     <span>{{ 'お気に入り'|trans }}</span>
  50.                 </a>
  51.             {% endif %}
  52.             <a class="ec-headerLink__item" href="{{ url('mypage_login') }}">
  53.                 <div class="ec-headerLink__icon">
  54.                     <i class="fas fa-lock fa-fw"></i>
  55.                 </div>
  56.                 <span>{{ 'ログイン'|trans }}</span>
  57.             </a>
  58.         {% endif %}
  59.         <a class="ec-headerLink__item" href="{{ url('homepage') }}">
  60.             <div class="ec-headerLink__icon">
  61.                 <i class="fas fa-home fa-fw"></i>
  62.             </div>
  63.             <span>{{ 'ホームに戻る'|trans }}</span>
  64.         </a>
  65.     </div>
  66. </div>