Commit d6e41cc9 authored by EXT Hélène David's avatar EXT Hélène David
Browse files

change placeholder in multiple user add to 'Search group'

parent 1c8946da
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="widget-search separator bottom"> <div class="widget-search separator bottom">
<div class="overflow-hidden"> <div class="overflow-hidden">
<input type="text" value="" id="inputField" style="width: 100%;" placeholder="{{::_labels.searchUser}}" ng-model="inputField" ng-change="onInputChange(inputField)"> <input type="text" value="" id="inputField" style="width: 100%;" placeholder="{{::_labels.searchGroup}}" ng-model="inputField" ng-change="onInputChange(inputField)">
<datalist id="inputFieldList"> <datalist id="inputFieldList">
<option ng-if="item.firstName || item.lastName" data-ng-repeat="item in addUserInputList" value="{{item.login}} ({{item.firstName}} {{item.lastName|uppercase}})" /> <option ng-if="item.firstName || item.lastName" data-ng-repeat="item in addUserInputList" value="{{item.login}} ({{item.firstName}} {{item.lastName|uppercase}})" />
<option ng-if="!(item.firstName || item.lastName)" data-ng-repeat="item in addUserInputList" value="{{item.login}}" /> <option ng-if="!(item.firstName || item.lastName)" data-ng-repeat="item in addUserInputList" value="{{item.login}}" />
......
...@@ -119,7 +119,6 @@ root.controller('UsersSearchCtrl', ['$scope', "$http",'$dropListFactory','$userF ...@@ -119,7 +119,6 @@ root.controller('UsersSearchCtrl', ['$scope', "$http",'$dropListFactory','$userF
params.searchInMainUniversity = $scope.searchInMainUniversity?$scope.searchInMainUniversity:$scope.customFilters.searchInMainUniversity; params.searchInMainUniversity = $scope.searchInMainUniversity?$scope.searchInMainUniversity:$scope.customFilters.searchInMainUniversity;
$userFactory.get_users(params.projectId, [elements[elements.length-1]], params.searchInMainUniversity, true,false,function(data){ $userFactory.get_users(params.projectId, [elements[elements.length-1]], params.searchInMainUniversity, true,false,function(data){
if(data.status == "success") { if(data.status == "success") {
$scope.addUserInputList = data.details $scope.addUserInputList = data.details
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment