0.1.371 hide name_carrier if user not registered
This commit is contained in:
@@ -1576,6 +1576,19 @@ a.open_inf_carrier{
|
|||||||
left: 4px;
|
left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.name_carrier.hiden{
|
||||||
|
top: 6px;
|
||||||
|
/* background: linear-gradient(99deg, #040404 56%, #9f9f9f 25%, #ffffff); */
|
||||||
|
background: linear-gradient(99deg, #000000 1%, #ffffff 16%, #ffffff);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
transition: 200ms;
|
||||||
|
width: calc(90% - 10px);
|
||||||
|
overflow: hidden;
|
||||||
|
padding-right: 10px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
.from-to-city-text{
|
.from-to-city-text{
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #27242499;
|
color: #27242499;
|
||||||
|
|||||||
@@ -90,7 +90,12 @@
|
|||||||
<img class="route_contact_avatar" {% if route.owner.user_profile.avatar %}
|
<img class="route_contact_avatar" {% if route.owner.user_profile.avatar %}
|
||||||
src="{{ route.owner.user_profile.avatar.url }}"
|
src="{{ route.owner.user_profile.avatar.url }}"
|
||||||
{% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %}>
|
{% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %}>
|
||||||
|
{% if user.is_authenticated %}
|
||||||
<span class="name_carrier">{{ route.owner.last_name }} {{ route.owner.first_name }}</span>
|
<span class="name_carrier">{{ route.owner.last_name }} {{ route.owner.first_name }}</span>
|
||||||
|
{% endif %}
|
||||||
|
{% if not user.is_authenticated %}
|
||||||
|
<span class="name_carrier hiden">{{ route.owner.last_name }} {{ route.owner.first_name }}</span>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div name="form_carrier">
|
<div name="form_carrier">
|
||||||
|
|||||||
Reference in New Issue
Block a user