mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-08 00:29:04 +02:00
added universties site angular controler
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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)->
|
||||
Reference in New Issue
Block a user