diff --git a/static/img/svg/user_icon_standart.png b/static/img/svg/user_icon_standart.png new file mode 100644 index 0000000..e1304f6 Binary files /dev/null and b/static/img/svg/user_icon_standart.png differ diff --git a/templates/blocks/profile/b_buttons_menu_profile.html b/templates/blocks/profile/b_buttons_menu_profile.html index 4367028..b41ed8f 100644 --- a/templates/blocks/profile/b_buttons_menu_profile.html +++ b/templates/blocks/profile/b_buttons_menu_profile.html @@ -116,7 +116,7 @@ {# {% if page_name == 'change_profile' %}#} {# class="selected"#} {# {% endif %}>#} -{# #} +{# #} {# Мой профиль#} {# #} {#
#} diff --git a/templates/blocks/profile/b_chats.html b/templates/blocks/profile/b_chats.html index a1d14fe..155ef38 100644 --- a/templates/blocks/profile/b_chats.html +++ b/templates/blocks/profile/b_chats.html @@ -60,7 +60,7 @@
- + {# {{ ticket.manager.last_name }} {{ ticket.manager.first_name }}#} {{ cur_receiver.last_name }} {{ cur_receiver.first_name }}
diff --git a/templates/blocks/profile/b_profile.html b/templates/blocks/profile/b_profile.html index 89cfcac..0c71608 100644 --- a/templates/blocks/profile/b_profile.html +++ b/templates/blocks/profile/b_profile.html @@ -6,7 +6,7 @@
+ {% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %} >
diff --git a/templates/blocks/profile/b_profile_first_page.html b/templates/blocks/profile/b_profile_first_page.html index 788d74f..8421d57 100644 --- a/templates/blocks/profile/b_profile_first_page.html +++ b/templates/blocks/profile/b_profile_first_page.html @@ -4,12 +4,12 @@

{% translate "Добро пожаловать:" %} {{ user.first_name }} {{ user.last_name }} ({{ user.username }})

+ {% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %} alt="">
{#
#} {# #} +{# {% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %} >#} {#
#} {#
{% translate "Статус:" %} {{ user.user_profile.get_account_type_display }}
#} {#
#} diff --git a/templates/blocks/profile/b_support_chat.html b/templates/blocks/profile/b_support_chat.html index 7a8268d..be61864 100644 --- a/templates/blocks/profile/b_support_chat.html +++ b/templates/blocks/profile/b_support_chat.html @@ -39,7 +39,7 @@ {% if user.is_staff or ticket.manager %}
- + {{ cur_receiver.last_name }} {{ cur_receiver.first_name }}
diff --git a/templates/widgets/w_chat_right_panel_tickets.html b/templates/widgets/w_chat_right_panel_tickets.html index 79a3fe5..e897059 100644 --- a/templates/widgets/w_chat_right_panel_tickets.html +++ b/templates/widgets/w_chat_right_panel_tickets.html @@ -1,7 +1,7 @@ {% load static %}
- +
diff --git a/templates/widgets/w_chat_right_panel_user.html b/templates/widgets/w_chat_right_panel_user.html index 81ce427..4671d5d 100644 --- a/templates/widgets/w_chat_right_panel_user.html +++ b/templates/widgets/w_chat_right_panel_user.html @@ -1,7 +1,7 @@ {% load static %}
- {{ item.user_profile }} + {{ item.user_profile }}
diff --git a/templates/widgets/w_message.html b/templates/widgets/w_message.html index 4d58ba8..b7a32b0 100644 --- a/templates/widgets/w_message.html +++ b/templates/widgets/w_message.html @@ -4,7 +4,7 @@
- {{ msg.sender }} + {{ msg.sender }}