{% load i18n %}
<style>
  .warn{
    color: red;
    font-size: 12px;
    padding: 0 30px;
    line-height: 54px;
  }
</style>

<!-- top navigation -->
        <div class="top_nav">
          <div class="nav_menu">
            <nav>
              <div class="nav toggle">
                <a id="menu_toggle"><i class="fa fa-bars"></i></a>   
                
              </div>
              

              <ul class="nav navbar-nav navbar-left">  
                {% ifequal request.user.company.id 19257 %}
                  <li style='top:16px;font-size:16px;'>{% trans '茗酒荟-云平台管理系统' %}</li>
                {% else %}  
                    {% ifequal request.user.ancestor_id 293409 %}
                        <li style='top:16px;font-size:16px;'>{% trans '弹动-物流管理系统' %}</li>
                    {% else %}
                        <li style='top:16px;font-size:16px;'>{% trans '海南天鉴-物流管理系统' %}</li>
                    {% endifequal %}
                
                {% endifequal %} 
              </ul>
              {% ifequal request.user.ancestor_id 1  %} 
                <div class=" warn" style="float: left;">*禁止处理涉密文件</div>  
              {% endifequal %}


              <ul class="nav navbar-nav navbar-right">   
                <li class="">
                  <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                    <span class='glyphicon glyphicon-user user-icon'    style='color:green'></span>
                    {{ user.username }}
                    <span class=" fa fa-angle-down"></span>
                  </a>
                  <ul class="dropdown-menu dropdown-usermenu pull-right">                   
                    <li><a  href="/user/chgpwd/?next={{request.path}}" > {% trans '修改密码' %}  </a>   </li>
                    
                    <li><a href="/user/logout/?next={{request.path}}"><i class="fa fa-sign-out  pull-right"></i>{% trans '退出登录' %}</a></li>
                  </ul>
                </li>

                <li role="presentation" class="dropdown">
                  <a href="javascript:;" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false">
                    <i class="fa fa-envelope-o"></i>
                    <span class="badge bg-green">0</span>
                  </a>
                  <ul id="menu1" class="dropdown-menu list-unstyled msg_list" role="menu">
                    <!--  
                    <li>
                      <a>
                        <span class="image"><img src="images/img.jpg" alt="Profile Image" /></span>
                        <span>
                          <span>John Smith</span>
                          <span class="time">3 mins ago</span>
                        </span>
                        <span class="message">
                          Film festivals used to be do-or-die moments for movie makers. They were where...
                        </span>
                      </a>
                    </li>
                    <li>
                      <a>
                        <span class="image"><img src="images/img.jpg" alt="Profile Image" /></span>
                        <span>
                          <span>John Smith</span>
                          <span class="time">3 mins ago</span>
                        </span>
                        <span class="message">
                          Film festivals used to be do-or-die moments for movie makers. They were where...
                        </span>
                      </a>
                    </li>
                    <li>
                      <a>
                        <span class="image"><img src="images/img.jpg" alt="Profile Image" /></span>
                        <span>
                          <span>John Smith</span>
                          <span class="time">3 mins ago</span>
                        </span>
                        <span class="message">
                          Film festivals used to be do-or-die moments for movie makers. They were where...
                        </span>
                      </a>
                    </li>
                    <li>
                      <a>
                        <span class="image"><img src="images/img.jpg" alt="Profile Image" /></span>
                        <span>
                          <span>John Smith</span>
                          <span class="time">3 mins ago</span>
                        </span>
                        <span class="message">
                          Film festivals used to be do-or-die moments for movie makers. They were where...
                        </span>
                      </a>
                    </li>
                    <li>
                      <div class="text-center">
                        <a>
                          <strong>See All Alerts</strong>
                          <i class="fa fa-angle-right"></i>
                        </a>
                      </div>
                    </li>
                  </ul>
                </li>
                -->
              </ul>
            </nav>
          </div>
        </div>
        <!-- /top navigation -->

