From 34189299a73fb3528913434065b436879569b553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20J=C4=99dras?= Date: Fri, 22 May 2020 22:55:00 +0200 Subject: [PATCH] Fix duplicate translations on listing #172950053 (#1340) --- .../listings/components/listing/rental-unit-stats.html.slim | 2 +- .../listings/components/listing/sale-unit-stats.html.slim | 2 +- .../listings/templates/listing/_waitlist-info.html.slim | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/listings/components/listing/rental-unit-stats.html.slim b/app/assets/javascripts/listings/components/listing/rental-unit-stats.html.slim index 514bb1cab3..a715f9ab09 100644 --- a/app/assets/javascripts/listings/components/listing/rental-unit-stats.html.slim +++ b/app/assets/javascripts/listings/components/listing/rental-unit-stats.html.slim @@ -22,7 +22,7 @@ div.table-pricing-wrapper ng-repeat="group in ::$ctrl.unitGroups" small.pricing-table-waitlist ng-if="::row.Status == 'Occupied'" | {{'listings.stats.waitlist' | translate}} span ng-if="::row.Status != 'Occupied'" - i + i.notranslate | {{::row.total}} small | {{'listings.stats.available' | translate}} diff --git a/app/assets/javascripts/listings/components/listing/sale-unit-stats.html.slim b/app/assets/javascripts/listings/components/listing/sale-unit-stats.html.slim index fa1bc81514..6930ce1eac 100644 --- a/app/assets/javascripts/listings/components/listing/sale-unit-stats.html.slim +++ b/app/assets/javascripts/listings/components/listing/sale-unit-stats.html.slim @@ -22,7 +22,7 @@ div.table-pricing-wrapper ng-repeat="group in ::$ctrl.unitGroups" small.pricing-table-waitlist ng-if="::row.Status == 'Occupied'" | {{'listings.stats.waitlist' | translate}} span ng-if="::row.Status != 'Occupied'" - i + i.notranslate | {{::row.total}} small | {{'listings.stats.available' | translate}} diff --git a/app/assets/javascripts/listings/templates/listing/_waitlist-info.html.slim b/app/assets/javascripts/listings/templates/listing/_waitlist-info.html.slim index 9ce27fcc54..b2c1ddd421 100644 --- a/app/assets/javascripts/listings/templates/listing/_waitlist-info.html.slim +++ b/app/assets/javascripts/listings/templates/listing/_waitlist-info.html.slim @@ -22,11 +22,11 @@ p.c-charcoal.t-small.margin-bottom translate="listings.available_units_and_waitlist_desc" translate-value-number="{{$ctrl.parent.listing.Total_number_of_building_units}}" ul.content-list li.content-stat.emphasis - span.content-stat-count + span.content-stat-count.notranslate | {{$ctrl.parent.listing.Units_Available}} span.content-stat-label translate="listings.available_units" li.content-stat.emphasis - span.content-stat-count + span.content-stat-count.notranslate | {{$ctrl.parent.listing.Total_waitlist_openings}} span.content-stat-label translate="listings.open_waitlist_slots"