Update language files
This commit is contained in:
@@ -421,7 +421,8 @@
|
||||
<div class="input-group">
|
||||
<input type="text" id="setGhostPassword" class="form-control" name="password" ng-model="setGhost.password" required ng-readonly="setGhost.success"/>
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default" id="setGhostClipboardButton" type="button" data-clipboard-target="#setGhostPassword"><i class="fa fa-clipboard"></i></button>
|
||||
<button class="btn btn-default" ng-hide="setGhost.success" type="button" uib-tooltip="{{ 'users.setGhostDialog.generatePassword' | tr }}Generate Password" ng-click="setGhost.generatePassword()"><i class="fa fa-key"></i></button>
|
||||
<button class="btn btn-default" ng-show="setGhost.success" type="button" id="setGhostClipboardButton" data-clipboard-target="#setGhostPassword"><i class="fa fa-clipboard"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+5
-1
@@ -630,11 +630,15 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
$scope.setGhost.success = false;
|
||||
$scope.setGhost.error = null;
|
||||
$scope.setGhost.user = user;
|
||||
$scope.setGhost.password = generatePassword();
|
||||
$scope.setGhost.password = '';
|
||||
|
||||
$('#setGhostModal').modal('show');
|
||||
},
|
||||
|
||||
generatePassword: function () {
|
||||
$scope.setGhost.password = generatePassword();
|
||||
},
|
||||
|
||||
submit: function () {
|
||||
$scope.setGhost.busy = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user