0.8.455
This commit is contained in:
BIN
static/img/svg/user_icon_standart.png
Normal file
BIN
static/img/svg/user_icon_standart.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
@@ -116,7 +116,7 @@
|
||||
{# {% if page_name == 'change_profile' %}#}
|
||||
{# class="selected"#}
|
||||
{# {% endif %}>#}
|
||||
{# <img class="svg" src="/static/img/svg/User.svg">#}
|
||||
{# <img class="svg" src="/static/img/svg/user_icon_standart.png">#}
|
||||
{# <a href="{% url "profile_page" "change_profile" %}">Мой профиль</a>#}
|
||||
{# </div>#}
|
||||
{# <div>#}
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
<div class="container-header-chat">
|
||||
<div class="header-chat-left-part">
|
||||
<img class="chat-avatar" {% if cur_receiver.user_profile.avatar %}src="{{ cur_receiver.user_profile.avatar.url }}"{% else %}src="{% static "img/svg/User.svg" %}"{% endif %}>
|
||||
<img class="chat-avatar" {% if cur_receiver.user_profile.avatar %}src="{{ cur_receiver.user_profile.avatar.url }}"{% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %}>
|
||||
{# <span class="chat-username">{{ ticket.manager.last_name }} {{ ticket.manager.first_name }}</span>#}
|
||||
<span class="chat-username">{{ cur_receiver.last_name }} {{ cur_receiver.first_name }}</span>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<div class="upload_photo_container">
|
||||
<img class="avatar_user_profile" {% if user.user_profile.avatar %}
|
||||
src="{{ user.user_profile.avatar.url }}"
|
||||
{% else %}src="{% static "img/svg/User.svg" %}"{% endif %} >
|
||||
{% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %} >
|
||||
<input type="file" onchange="upload_photo_f_profile(this)" class="btn_f_upload_photo" id="id_btn_f_upload_photo">
|
||||
<label class="upload_photo_label" for="id_btn_f_upload_photo">{% translate "Загрузить фото" %}</label>
|
||||
</div>
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
<h1>{% 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.svg" %}"{% endif %} alt="">
|
||||
{% 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.svg" %}"{% endif %} >#}
|
||||
{# {% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %} >#}
|
||||
{# </div>#}
|
||||
{# <div>{% translate "Статус:" %} {{ user.user_profile.get_account_type_display }}</div>#}
|
||||
{# <div>#}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
{% if user.is_staff or ticket.manager %}
|
||||
<div class="container-header-chat">
|
||||
<div class="header-chat-left-part">
|
||||
<img class="chat-avatar" {% if cur_receiver.user_profile.avatar %}src="{{ cur_receiver.user_profile.avatar.url }}"{% else %}src="{% static "img/svg/User.svg" %}"{% endif %}>
|
||||
<img class="chat-avatar" {% if cur_receiver.user_profile.avatar %}src="{{ cur_receiver.user_profile.avatar.url }}"{% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %}>
|
||||
<span class="chat-username">{{ cur_receiver.last_name }} {{ cur_receiver.first_name }}</span>
|
||||
</div>
|
||||
<div class="header-chat-right-part">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% load static %}
|
||||
<div class="tab_user_messanger{% if item.id == ticket.id %} select{% endif %}" onclick="selectedUserMessenger({{ item.id }},null,this)" data-cur-receiver-item="{{ item.id }}">
|
||||
<div class="left-part-tab-user">
|
||||
<img class="user_avatar_messenger" {% if item.user_profile.avatar %}src="{{ item.user_profile.avatar.url }}"{% else %}src="{% static "img/svg/User.svg" %}"{% endif %}>
|
||||
<img class="user_avatar_messenger" {% if item.user_profile.avatar %}src="{{ item.user_profile.avatar.url }}"{% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %}>
|
||||
<div class="status_user">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% load static %}
|
||||
<div class="tab_user_messanger{% if item.id == cur_receiver.id %} select{% endif %}" onclick="selectedUserMessenger(null,{{ item.id }})" data-cur-receiver-item="{{ item.id }}">
|
||||
<div class="left-part-tab-user">
|
||||
<img class="user_avatar_messenger" src="{% if item.user_profile.avatar %}{{ MEDIA_URL }}{{ item.user_profile.avatar }}{% else %}{% static "img/svg/User.svg" %}{% endif %}" alt="{{ item.user_profile }}" />
|
||||
<img class="user_avatar_messenger" src="{% if item.user_profile.avatar %}{{ MEDIA_URL }}{{ item.user_profile.avatar }}{% else %}{% static "img/svg/user_icon_standart.png" %}{% endif %}" alt="{{ item.user_profile }}" />
|
||||
<div class="status_user">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div style="width: 100%;">
|
||||
<div class="container-message_support_chat {% get_msg_side user ticket msg %}">
|
||||
<div class="block_avatar_message {% get_msg_side user ticket msg %}">
|
||||
<img src="{% if msg.sender.user_profile.avatar %}{{ MEDIA_URL }}{{ msg.sender.user_profile.avatar }}{% else %}{% static "img/svg/User.svg" %}{% endif %}" alt="{{ msg.sender }}" />
|
||||
<img src="{% if msg.sender.user_profile.avatar %}{{ MEDIA_URL }}{{ msg.sender.user_profile.avatar }}{% else %}{% static "img/svg/user_icon_standart.png" %}{% endif %}" alt="{{ msg.sender }}" />
|
||||
</div>
|
||||
<div class="block_text_message {% get_msg_side user ticket msg %}">
|
||||
<div class="container_text_message {% get_msg_side user ticket msg %}">
|
||||
|
||||
Reference in New Issue
Block a user