app/template/default/Mypage/navi.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-navlistRole">
  9.     <ul class="ec-navlistRole__navlist">
  10.         <li class="ec-navlistRole__item {% if mypageno|default('') == 'index' %}active{% endif %}">
  11.             <a href="{{ url('mypage') }}">{{ 'ご注文履歴'|trans }}</a>
  12.         </li>
  13.         {% if BaseInfo.option_favorite_product %}
  14.             <li class="ec-navlistRole__item {% if mypageno|default('') == 'favorite' %}active{% endif %}">
  15.                 <a href="{{ url('mypage_favorite') }}">{{ 'お気に入り一覧'|trans }}</a>
  16.             </li>
  17.         {% endif %}
  18.         <li class="ec-navlistRole__item {% if mypageno|default('') == 'change' %}active{% endif %}">
  19.             <a href="{{ url('mypage_change') }}">{{ '会員情報編集'|trans }}</a>
  20.         </li>
  21.         <li class="ec-navlistRole__item {% if mypageno|default('') == 'delivery' %}active{% endif %}">
  22.             <a href="{{ url('mypage_delivery') }}">{{ 'お届け先一覧'|trans }}</a>
  23.         </li>
  24.     </ul>
  25. </div>
  26. <div class="ec-welcomeMsg">
  27.     <p>{{ 'ようこそ%last_name% %first_name%さん'|trans({ '%last_name%': app.user.name01, '%first_name%': app.user.name02 }) }}</p>
  28.     {% if BaseInfo.option_point %}
  29.         <p>{{ '現在の所持ポイントは %point%pt です。'|trans({ '%point%': app.user.point|number_format}) }}</p>
  30.     {% endif %}
  31. </div>