templates/base/public/header.twig line 1

Open in your IDE?
  1. <header>
  2.     <div class="container">
  3.         <div class="menuToggle"><i class="material-icons">menu</i></div>
  4.         {% if app.user %}
  5.             <div class="padder_10 inlineblock hide-on-small-only"><i class="material-icons small right">account_circle</i>
  6.                 {% if app.user.fullname %}
  7.                     <div class="font10 bold inlineblock padder_3">{{ app.user.fullname |faNum }}</div>
  8.                 {% else %}
  9.                     <div class="font10 bold inlineblock padder_3">{{ app.user.phone|faNum }}</div>
  10.                 {% endif %}
  11.             </div>
  12.         {% else %}
  13.             <div class="inlineblock padder_5 font10 bold hide-on-small-only">
  14.                 <a href="{{ SM_URL }}auth/signin">
  15.                     <div class="inlineblock padder_5">
  16.                         <div class="inlineblock padder_3"><i class="material-icons right">account_circle</i></div>
  17.                         <span>ورود به حساب کاربری</span>
  18.                     </div>
  19.                 </a>
  20.             </div>
  21.         {% endif %}
  22.         <a href="https://safarmarket.com">
  23.             <img class="logo" class="left" src="asset/img/icon/logo_ads.png">
  24.         </a>
  25.     </div>
  26. </header>