{#<div class="userinfo">#}
            {#    <img width="23" src="/_diamond/diamond-cms/assets/images/user_none.jpg" alt=""/>#}
            {#    <span>{{ name }}</span>#}
            {#</div><!--userinfo-->#}

            {#<div class="userinfodrop">#}
            {#    <div class="avatar">#}
            {#        <a href=""><img width="95" src="/_diamond/diamond-cms/assets/images/user_none.jpg"/></a>#}
            {#    </div><!--avatar-->#}
            {#    <div class="userdata">#}
            {#        <h4>{{ name }}</h4>#}
            {#        <span class="email">{{ group }}</span>#}
            {#        <ul>#}
            {#            <li><a href="/admin/diamond/profile/main">Профиль</a></li>#}
            {#            <li><a href="/admin/diamond/profile/password">Смена пароля</a></li>#}
            {#            <li><a href="/admin/diamond/profile/help">Помощь</a></li>#}
            {#            <li><a onclick="return confirm('Точно выйти?')" href="/admin/?logout=1">Выход</a></li>#}
            {#        </ul>#}
            {#    </div><!--userdata-->#}
            {#</div>#}

<ul class="nav navbar-top-links pull-right">

    <!--User dropdown-->
    <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
    <li id="dropdown-user" class="dropdown">
        <a href="#" data-toggle="dropdown" class="dropdown-toggle text-right">
                                <span class="pull-right">
                                    <img class="img-circle img-user media-object" src="/_diamond/diamond-cms/assets/nifty/img/profile-photos/1.png" alt="Profile Picture">
{#                                    <i class="demo-pli-male ic-user"></i>#}
                                </span>
            <div class="username hidden-xs">{{ name }}</div>
        </a>


        <div class="dropdown-menu dropdown-menu-md dropdown-menu-right panel-default">

            <!-- Dropdown heading  -->
            <div class="pad-all bord-btm">
                <p class="text-main mar-btm"><span class="text-bold">750GB</span> of 1,000GB Used</p>
                <div class="progress progress-sm">
                    <div class="progress-bar" style="width: 70%;">
                        <span class="sr-only">70%</span>
                    </div>
                </div>
            </div>


            <!-- User dropdown menu -->
            <ul class="head-list">
                <li>
                    <a href="{{ admin_path('/diamond/profile/main') }}">
                        <i class="demo-pli-male icon-lg icon-fw"></i> Профиль
                    </a>
                </li>
                <li>
                    <a href="{{ admin_path('/diamond/profile/info') }}">
                        <span class="badge badge-danger pull-right">9</span>
                        <i class="demo-pli-mail icon-lg icon-fw"></i> Новости
                    </a>
                </li>
{#                <li>#}
{#                    <a href="#">#}
{#                        <span class="label label-success pull-right">New</span>#}
{#                        <i class="demo-pli-gear icon-lg icon-fw"></i> Settings#}
{#                    </a>#}
{#                </li>#}
{#                <li>#}
{#                    <a href="#">#}
{#                        <i class="demo-pli-information icon-lg icon-fw"></i> Help#}
{#                    </a>#}
{#                </li>#}
{#                <li>#}
{#                    <a onclick="return confirm('Точно выйти?')" href="/admin/?logout=1">#}
{#                        <i class="demo-pli-computer-secure icon-lg icon-fw"></i> Выход#}
{#                    </a>#}
{#                </li>#}
            </ul>

            <!-- Dropdown footer -->
            <div class="pad-all text-right">
                <a onclick="return confirm('Точно выйти?')" href="{{ auth_url }}?logout=1" class="btn btn-primary">
                    <i class="demo-pli-unlock"></i> Выход
                </a>
            </div>
        </div>
    </li>
    <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
    <!--End user dropdown-->

</ul>