0.1.378 update carrier_card info in search
This commit is contained in:
@@ -67,14 +67,15 @@
|
||||
<img class="inf_carrier_icon" src="{% static "/img/svg/cargo.svg" %}"/>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>
|
||||
<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">
|
||||
|
||||
<img class="route_contact_avatar {% if route.owner == user %} active{% endif %}" {% 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{% if route.owner == user %} active{% endif %}">{{ route.owner.last_name }} {{ route.owner.first_name }}</span>
|
||||
|
||||
<a class="phones_carrier" href="tel:{{ route.phone }}">
|
||||
<img class="inf_carrier_icon" src="{% static "/img/svg/phone.svg" %}"/>
|
||||
<span class="phones_carrier_span{% if route.owner == user %} active{% endif %} el_for_open_el">{{ route.phone }}</span>
|
||||
|
||||
Reference in New Issue
Block a user