Added User Management support for Emby #435

This commit is contained in:
tidusjar 2017-01-30 21:58:13 +00:00
commit 4193cb88fd
23 changed files with 354 additions and 118 deletions

View file

@ -12,7 +12,10 @@
<strong>Email Address: </strong><span ng-bind="selectedUser.emailAddress"></span>
</div>
<div>
<strong>User Type: </strong><span ng-bind="selectedUser.type === 1 ? 'Local User' : 'Plex User'"></span>
<strong>User Type: </strong>
<span ng-if="selectedUser.type === 1">Local User</span>
<span ng-if="selectedUser.type === 2">Emby User</span>
<span ng-if="selectedUser.type === 3">Plex User</span>
</div>
<br />
<br />

View file

@ -75,7 +75,9 @@
{{u.permissionsFormattedString}}
</td>
<td ng-hide="hideColumns">
{{u.type === 1 ? 'Local User' : 'Plex User'}}
<span ng-if="u.type === 1">Local User</span>
<span ng-if="u.type === 3">Plex User</span>
<span ng-if="u.type === 2">Emby User</span>
</td>
<td ng-hide="hideColumns" ng-bind="u.lastLoggedIn === minDate ? 'Never' : formatDate(u.lastLoggedIn)"></td>
<td>

View file

@ -20,7 +20,7 @@
$scope.searchTerm = "";
$scope.hideColumns = false;
var ReadOnlyPermission = "Read Only User";
var open = false;