mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
added universties site angular controler
This commit is contained in:
parent
a0e129b880
commit
1f6b43e1b1
3 changed files with 19 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
|
17
services/web/public/coffee/main/universties-site.coffee
Normal file
17
services/web/public/coffee/main/universties-site.coffee
Normal file
|
@ -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)->
|
Loading…
Reference in a new issue