0.7.47
fix admin base models
This commit is contained in:
@@ -37,21 +37,30 @@
|
||||
</div>
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
{# boris changed #}
|
||||
<div class="cont_header_btn_profile">
|
||||
<div class="button_profile_header" onclick="show_header_list()" data-user-id="{{ user.id }}">
|
||||
|
||||
<a class="button_profile_header" data-user-id="{{ user.id }}"
|
||||
|
||||
href="{% url "user_profile" %}">
|
||||
<span>
|
||||
{{ user.first_name }} {{ user.last_name }}
|
||||
</span>
|
||||
<div class="icon_unread_messages" style="padding-top: 2px;padding-right: 13px;">
|
||||
<div class="cost-messages-in-user-tab-messenger" style="background: #FFFFFF;">
|
||||
<span class="unredmessages_value_text" style="padding-top: 2px;padding-left: 0; color: #000000;"></span>
|
||||
</div>
|
||||
<span>
|
||||
{{ user.first_name }} {{ user.last_name }}
|
||||
</span>
|
||||
<div class="icon_unread_messages" style="padding-top: 2px;padding-right: 13px;">
|
||||
<div class="cost-messages-in-user-tab-messenger" style="background: #FFFFFF;">
|
||||
<span class="unredmessages_value_text" style="padding-top: 2px;padding-left: 0; color: #000000;"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
|
||||
<div class="menu_profile_btn">
|
||||
<div class="subscribe_type_txt"><span>Подписка:</span> <span>Стандарт</span></div>
|
||||
<a class="btn_menu_profile" href="{% url "user_profile" %}" >Перейти в профиль</a>
|
||||
<a class="btn_menu_profile" href="{% url 'profile_page' 'create_route_for_mover' %}">Перевезти посылку</a>
|
||||
<a class="btn_menu_profile" href="{% url 'profile_page' 'create_route_for_customer' %}">Отправить посылку</a>
|
||||
<a class="btn_menu_profile" href="{% url 'profile_page' 'my_routes' %}" >Мои объявления</a>
|
||||
<div class="separator_menu_profile"></div>
|
||||
<button class="btn_menu_profile">Выйти из профиля</button>
|
||||
</div>
|
||||
</div>
|
||||
{# end #}
|
||||
{% endif %}
|
||||
|
||||
{% if not user.is_authenticated %}
|
||||
|
||||
Reference in New Issue
Block a user