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

Merge pull request #927 from sharelatex/jel-plans-updates

Plans page updates
Jessica Lawshe 8 лет назад
Родитель
Сommit
d2af2fb630

+ 1 - 1
services/web/app/coffee/Features/Subscription/planFeatures.coffee

@@ -33,7 +33,7 @@ module.exports =
 			student: true
 			student: true
 		}
 		}
 		{
 		{
-			feature: 'hundreds_templates'
+			feature: 'thousands_templates'
 			value: 'bool'
 			value: 'bool'
 			info: 'hundreds_templates_info'
 			info: 'hundreds_templates_info'
 			plans: {
 			plans: {

+ 1 - 1
services/web/app/views/subscriptions/_modal_group_inquiry.pug

@@ -2,7 +2,7 @@ script(type="text/ng-template", id="groupPlanModalTemplate")
 	.modal-header
 	.modal-header
 		h3 #{translate("group_plan_enquiry")}
 		h3 #{translate("group_plan_enquiry")}
 	.modal-body
 	.modal-body
-		form.text-left.form(ng-controller="UniverstiesContactController", ng-submit="contactUs()")
+		form.text-left.form(ng-controller="GroupPlanContactController", ng-submit="contactUs()")
 			span(ng-show="sent == false && error == false")
 			span(ng-show="sent == false && error == false")
 				.form-group
 				.form-group
 					label#title9(for='Field9')
 					label#title9(for='Field9')

+ 2 - 2
services/web/public/coffee/main/contact-us.coffee

@@ -2,7 +2,7 @@ define [
 	"base"
 	"base"
 	"libs/platform"
 	"libs/platform"
 ], (App, platform) ->
 ], (App, platform) ->
-	App.controller 'UniverstiesContactController', ($scope, $modal, $http) ->
+	App.controller 'GroupPlanContactController', ($scope, $modal, $http) ->
 
 
 		$scope.form = {}
 		$scope.form = {}
 		$scope.sent = false
 		$scope.sent = false
@@ -20,7 +20,7 @@ define [
 				email: $scope.form.email
 				email: $scope.form.email
 				labels: "#{$scope.form.source} accounts"
 				labels: "#{$scope.form.source} accounts"
 				message: "Please contact me with more details"
 				message: "Please contact me with more details"
-				subject: "#{$scope.form.name} - General Enquiry - #{$scope.form.position} - #{$scope.form.university}"
+				subject: "#{$scope.form.name} - Group Enquiry - #{$scope.form.position} - #{$scope.form.university}"
 				inbox: "accounts"
 				inbox: "accounts"
 
 
 			request = $http.post "/support", data
 			request = $http.post "/support", data