diff --git a/services/web/app/views/subscriptions/custom_account.jade b/services/web/app/views/subscriptions/custom_account.jade index 53cf86f3af..483517d873 100644 --- a/services/web/app/views/subscriptions/custom_account.jade +++ b/services/web/app/views/subscriptions/custom_account.jade @@ -8,7 +8,7 @@ block content .card .page-header h1 #{translate("your_subscription")} - div To make changes to your subscription please contact team@sharelatex.com + div To make changes to your subscription please contact accounts@sharelatex.com div   div -if(subscription.groupPlan) diff --git a/services/web/public/coffee/main.coffee b/services/web/public/coffee/main.coffee index 3740b679c2..dd0814740e 100644 --- a/services/web/public/coffee/main.coffee +++ b/services/web/public/coffee/main.coffee @@ -15,6 +15,7 @@ define [ "main/annual-upgrade" "main/register-users" "main/subscription/group-subscription-invite-controller" + "main/universties-site" "analytics/AbTestingManager" "directives/asyncForm" "directives/stopPropagation" diff --git a/services/web/public/coffee/main/universties-site.coffee b/services/web/public/coffee/main/universties-site.coffee new file mode 100644 index 0000000000..dd9d8858df --- /dev/null +++ b/services/web/public/coffee/main/universties-site.coffee @@ -0,0 +1,17 @@ +define [ + "base" +], (App) -> + + App.controller 'UniverstiesContactController', ($scope, $modal) -> + + $scope.form = {} + $scope.contactUs = -> + params = + name: $scope.form.name || $scope.form.email + email: $scope.form.email + labels: $scope.form.type + message: "Please contact me with more details" + subject: $scope.form.subject + about : "#{$scope.form.position || ''} #{$scope.form.university || ''} #{$scope.form.source || ''}" + + Groove.createTicket params, (err, json)->