mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge branch 'master' into sk-biber-errors
This commit is contained in:
commit
6911de1149
2 changed files with 3 additions and 2 deletions
|
@ -125,7 +125,7 @@ script(type='text/ng-template', id='shareProjectModalTemplate')
|
|||
span.text-danger.error(ng-show="state.error") #{translate("generic_something_went_wrong")}
|
||||
button.btn.btn-primary(
|
||||
ng-click="done()"
|
||||
) #{translate("done")}
|
||||
) #{translate("close")}
|
||||
|
||||
script(type="text/ng-template", id="makePublicModalTemplate")
|
||||
.modal-header
|
||||
|
|
|
@ -12,12 +12,13 @@ define [
|
|||
console.log "email not set"
|
||||
return
|
||||
$scope.sending = true
|
||||
ticketNumber = Math.floor((1 + Math.random()) * 0x10000).toString(32)
|
||||
params =
|
||||
name: $scope.form.name || $scope.form.email
|
||||
email: $scope.form.email
|
||||
labels: $scope.form.source
|
||||
message: "Please contact me with more details"
|
||||
subject: $scope.form.subject
|
||||
subject: $scope.form.subject + " - [#{ticketNumber}]"
|
||||
about : "#{$scope.form.position || ''} #{$scope.form.university || ''}"
|
||||
|
||||
Groove.createTicket params, (err, json)->
|
||||
|
|
Loading…
Reference in a new issue