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

Show correct number of collaborators for plans

Shane Kilkelly 10 лет назад
Родитель
Сommit
667c7ce520
1 измененных файлов с 9 добавлено и 3 удалено
  1. 9 3
      services/web/app/views/subscriptions/plans.jade

+ 9 - 3
services/web/app/views/subscriptions/plans.jade

@@ -91,7 +91,9 @@ block content
 													span.small /yr
 											ul.list-unstyled
 												li 
-													strong #{translate("collabs_per_proj", {collabcount:10})}
+													strong(ng-show="plansVariant == 'default'") #{translate("collabs_per_proj", {collabcount:10})}
+													strong(ng-show="plansVariant == 'heron'") #{translate("collabs_per_proj", {collabcount:8})}
+													strong(ng-show="plansVariant == 'ibis'") #{translate("collabs_per_proj", {collabcount:12})}
 												li #{translate("full_doc_history")}
 												li #{translate("sync_to_dropbox")}
 												li #{translate("sync_to_github")}
@@ -156,7 +158,9 @@ block content
 													span.small /mo
 											ul.list-unstyled
 												li
-													strong #{translate("collabs_per_proj", {collabcount:6})}
+													strong(ng-show="plansVariant == 'default'") #{translate("collabs_per_proj", {collabcount:6})}
+													strong(ng-show="plansVariant == 'heron'") #{translate("collabs_per_proj", {collabcount:4})}
+													strong(ng-show="plansVariant == 'ibis'") #{translate("collabs_per_proj", {collabcount:8})}
 												li #{translate("full_doc_history")}
 												li #{translate("sync_to_dropbox")}
 												li #{translate("sync_to_github")}
@@ -177,7 +181,9 @@ block content
 													span.small /yr
 											ul.list-unstyled
 												li
-													strong #{translate("collabs_per_proj", {collabcount:6})}
+													strong(ng-show="plansVariant == 'default'") #{translate("collabs_per_proj", {collabcount:6})}
+													strong(ng-show="plansVariant == 'heron'") #{translate("collabs_per_proj", {collabcount:4})}
+													strong(ng-show="plansVariant == 'ibis'") #{translate("collabs_per_proj", {collabcount:8})}
 												li #{translate("full_doc_history")}
 												li #{translate("sync_to_dropbox")}
 												li #{translate("sync_to_github")}