0.0.309 upd avatar for routes
This commit is contained in:
@@ -638,6 +638,14 @@ header .header-second {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.route_contact_avatar{
|
||||
object-fit: cover;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
border-radius: 10px;
|
||||
aspect-ratio: 4/3;
|
||||
}
|
||||
|
||||
|
||||
.header-second-item,
|
||||
.cont_header_btn_profile,
|
||||
|
||||
@@ -69,9 +69,12 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>
|
||||
<img src="{% static "/delete_later/Avatar.png" %}">
|
||||
<img class="route_contact_avatar" {% if route.owner.user_profile.avatar %}
|
||||
src="{{ route.owner.user_profile.avatar.url }}"
|
||||
{% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %}>
|
||||
<span class="name_carrier">{{ route.owner.last_name }} {{ route.owner.first_name }}</span>
|
||||
</div>
|
||||
|
||||
<div name="form_carrier">
|
||||
<div class="inf_carrier">
|
||||
<a class="phones_carrier" data-href="tel:{{ route.phone }}">
|
||||
|
||||
@@ -61,7 +61,9 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>
|
||||
<img src="{% static "/delete_later/Avatar.png" %}">
|
||||
<img class="route_contact_avatar" {% if route.owner.user_profile.avatar %}
|
||||
src="{{ route.owner.user_profile.avatar.url }}"
|
||||
{% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %}>
|
||||
<span class="name_carrier">{{ route.owner.last_name }} {{ route.owner.first_name }}</span>
|
||||
</div>
|
||||
<div name="form_carrier">
|
||||
|
||||
Reference in New Issue
Block a user