Add checkbox for user active

This commit is contained in:
Girish Ramakrishnan
2019-08-08 07:39:43 -07:00
parent 2c51bc17f1
commit 151d20341e
3 changed files with 27 additions and 3 deletions

View File

@@ -137,6 +137,13 @@
</label>
</div>
</div>
<div class="form-group" ng-hide="isMe(useredit.userInfo)">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="useredit.active"> User is active</a>
</label>
</div>
</div>
<input class="hide" type="submit" ng-disabled="useredit_form.$invalid || useredit.busy"/>
</form>
</div>
@@ -306,7 +313,7 @@
</tr>
</thead>
<tbody>
<tr ng-repeat="user in users">
<tr ng-repeat="user in users" ng-class="{'text-muted': !user.active}">
<td>
<i class="fa fa-briefcase arrow" ng-show="user.admin" uib-tooltip="This user can manage apps, groups and other users"></i>
</td>