Просмотр исходного кода

Merge pull request #19648 from overleaf/mf-remove-strike-plans-page

Convert `strike` to `s` because `strike` was already deprecated

GitOrigin-RevId: 48dc9fe1a20c1b354c0935d313b1fc5f515cd1fa
M Fahru 2 лет назад
Родитель
Сommit
e811436dd4

+ 3 - 3
services/web/app/views/subscriptions/plans/_mixins.pug

@@ -233,7 +233,7 @@ mixin table_head_group_collaborator(highlighted, eventTrackingKey, additionalEve
 	.plans-v2-table-th-content
 		p.plans-v2-table-th-content-title #{translate("group_standard")}
 		.plans-v2-table-price-container
-			strike.plans-v2-table-price-before-discount
+			s.plans-v2-table-price-before-discount
 				+gen_localized_price_for_plan_view('collaborator', 'annual')
 			p.plans-v2-table-price
 				span(data-ol-plans-v2-group-price-per-user='collaborator') #{initialLocalizedGroupPrice.pricePerUser.collaborator}
@@ -254,7 +254,7 @@ mixin table_head_group_professional(highlighted, eventTrackingKey, additionalEve
 	.plans-v2-table-th-content
 		p.plans-v2-table-th-content-title #{translate("group_professional")}
 		.plans-v2-table-price-container
-			strike.plans-v2-table-price-before-discount
+			s.plans-v2-table-price-before-discount
 				+gen_localized_price_for_plan_view('professional', 'annual')
 			p.plans-v2-table-price
 				span(data-ol-plans-v2-group-price-per-user='professional') #{initialLocalizedGroupPrice.pricePerUser.professional}
@@ -347,7 +347,7 @@ mixin table_head_student_university(highlighted, eventTrackingKey, additionalEve
 mixin table_head_price(plan, period)
 	div.plans-v2-table-price-container
 		if plan !== 'free' && period === 'annual'
-			strike.plans-v2-table-price-before-discount
+			s.plans-v2-table-price-before-discount
 				+gen_localized_price_for_plan_view(plan, 'monthlyTimesTwelve')
 		p.plans-v2-table-price
 			+gen_localized_price_for_plan_view(plan, period)

+ 1 - 1
services/web/frontend/stylesheets/app/plans/plans-v2.less

@@ -1049,7 +1049,7 @@ p.plans-v2-table-price {
   }
 }
 
-strike.plans-v2-table-price-before-discount {
+s.plans-v2-table-price-before-discount {
   position: absolute;
   top: -27px;
   font-weight: 700;