0.0.309 upd avatar for routes
This commit is contained in:
@@ -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