4 Commits

Author SHA1 Message Date
5c4e715970 Merge remote-tracking branch 'origin/main' 2023-12-05 13:39:38 +03:00
89b57feb4e 0.0.309 upd avatar for routes 2023-12-05 13:37:17 +03:00
f7783c070b Merge remote-tracking branch 'origin/main' 2023-12-05 12:45:26 +03:00
ff949a8205 0.0.308 2023-12-03 21:02:13 +03:00
3 changed files with 16 additions and 2 deletions

View File

@@ -635,8 +635,17 @@ header .header-second {
.button_profile_header_mobile{
display: none;
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,

View File

@@ -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 }}">

View File

@@ -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">