diff --git a/data/interfaces/default/js/tables/user_ips.js b/data/interfaces/default/js/tables/user_ips.js index fe52a452..d7c574a1 100644 --- a/data/interfaces/default/js/tables/user_ips.js +++ b/data/interfaces/default/js/tables/user_ips.js @@ -94,7 +94,7 @@ $('#user_ip_table').on('click', 'td.modal-control', function () { type: 'GET', dataType: 'json', success: function(data) { - $('#ip_address').html(ip_address); + $('#modal_header_ip_address').html(ip_address); $('#country').html(data.country); $('#city').html(data.city); $('#region').html(data.regionName); diff --git a/data/interfaces/default/user.html b/data/interfaces/default/user.html index 1991b1e2..29f113f2 100644 --- a/data/interfaces/default/user.html +++ b/data/interfaces/default/user.html @@ -5,12 +5,18 @@ For Mako templating syntax documentation please visit: http://docs.makotemplates Filename: user.html Version: 0.1 -Variable names: user [string] +Variable names: data [list] -user :: Usable parameters +data :: Usable parameters -user Returns the name of the user. +user_id Returns the user id of the user. +username Returns the user's username. friendly_name Returns the friendly name of the user. +email Returns the user's email address. +thumb Returns the thumbnail for the user. +is_home_user Returns bool value for whether the user is part of a Plex Home. +is_allow_sync Returns bool value for whether the user has sync rights. +is_restricted Returns bool value for whether the user account is restricted. DOCUMENTATION :: END @@ -33,10 +39,10 @@ from plexpy import helpers