mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 21:01:33 +02:00
put domain into popup for user info
This commit is contained in:
@@ -46,7 +46,8 @@ define ["libs/algolia", "libs/angular", "libs/angular-autocomplete/angular-autoc
|
||||
|
||||
$scope.updateInstitutionsList = (a)->
|
||||
Institutions.search $scope.userInfoForm.institution, (err, response)->
|
||||
$scope.institutions = _.pluck response.hits, "name"
|
||||
$scope.institutions = _.map response.hits, (institution)->
|
||||
"#{institution.name} <span class='muted'>#{institution.domain}</span>"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user