diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 3777f87..0cd86e7 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -1576,19 +1576,6 @@ a.open_inf_carrier{ 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{ font-size: 14px; color: #27242499; @@ -2548,7 +2535,7 @@ a.open_inf_carrier{ } .menu_buttons.right.open .menu_profile{ - padding-top: 30px; + padding-top: 45px; } diff --git a/templates/widgets/w_carrier_card.html b/templates/widgets/w_carrier_card.html index 1a4d0c8..5e94191 100644 --- a/templates/widgets/w_carrier_card.html +++ b/templates/widgets/w_carrier_card.html @@ -94,29 +94,52 @@ {{ route.owner.last_name }} {{ route.owner.first_name }} {% endif %} {% if not user.is_authenticated %} - {{ route.owner.last_name }} {{ route.owner.first_name }} + {% endif %} +
-
- - - {{ route.phone }} - {# #} -
-
- -
+ {% if user.is_authenticated %} +
+ + + {{ route.phone }} + {# #} +
+
+ +
+ {% endif %} + + {% if not user.is_authenticated %} +
+ + + +
+
+ +
+ + {% endif %} + + {% if not user.is_anonymous and route.owner != user %}