28 lines
2.0 KiB
HTML
28 lines
2.0 KiB
HTML
{% load static %}
|
||
{% load i18n %}
|
||
|
||
<h1 class="title_b_first_page">{% translate "Добро пожаловать:" %} <span class="user_first_name">{{ user.first_name }} {{ user.last_name }}</span> <span class="user_username" >({{ user.username }})</span></h1>
|
||
<div class="profile_prof"><img class="avatar_user_profile" {% if user.user_profile.avatar %}
|
||
src="{{ user.user_profile.avatar.url }}"
|
||
{% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %} alt="">
|
||
<div>
|
||
{# <div class="avatar_block">#}
|
||
{# <img class="avatar_user_profile" {% if user.user_profile.avatar %}#}
|
||
{# src="{{ user.user_profile.avatar.url }}"#}
|
||
{# {% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %} >#}
|
||
{# </div>#}
|
||
{# <div>{% translate "Статус:" %} {{ user.user_profile.get_account_type_display }}</div>#}
|
||
{# <div>#}
|
||
{# <select name="" id="">#}
|
||
{# <option>Перевозчик</option>#}
|
||
{# <option>Отправитель</option>#}
|
||
{# </select></div>#}
|
||
</div>
|
||
</div>
|
||
{# <div class="advice_text">{% translate "Если хотите отправить посылку - зарегистрируйтесь, как отправитель" %}</div>#}
|
||
<div class="prof_first_line">{% translate "Если у Вас возникнут вопросы Вы можете связаться с нами:" %} <a href="mailto:support@twb.com">support@twb.com</a></div>
|
||
<div class="prof_second_line">
|
||
{% blocktrans %}У Вас {{ unanswered_msgs_count }} новых сообщений{% endblocktrans %}
|
||
<a onclick="select_tab_profile(this,'chats'{% if owner_type %},'{{ owner_type }}'{% else %}, null {% endif %}, false)"onclick="clickONTHEAPROfileBTN(this)">{% translate "Посмотреть" %}</a>
|
||
</div>
|
||
{# <div class="prof_third_line">{% translate "Хотите получать уведомление о появлении посылок?" %} <a href="#">{% translate "Заполните форму" %}</a></div>#} |