<%doc> USAGE DOCUMENTATION :: PLEASE LEAVE THIS AT THE TOP OF THIS FILE For Mako templating syntax documentation please visit: http://docs.makotemplates.org/en/latest/ Filename: edit_user.html Version: 0.1 Variable names: data [list] data :: Usable parameters == Global keys == 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. user_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. do_notify Returns bool value for whether to send notifications for the user. keep_history Returns bool value for whether to keep history for the user. allow_guest Returns bool value for whether to allow guest access for the user. DOCUMENTATION :: END <%! from plexpy import helpers %> % if data != None:

#### Edit user ${data['username']}

Friendly Name

Replace all occurrences of the username with this name.

Profile Picture URL

Change the users profile picture in PlexPy. To reset to default, leave this field empty and save.

Enable notifications

Uncheck this if you do not want to receive notifications for this user's activity.

Keep history

Uncheck this if you do not want to keep any history on this user's activity.

Allow Guest Access

Uncheck this if you do not want to allow this user to login to PlexPy.

% if data['user_id']:

DANGER ZONE! Click the purge button to remove all history logged for this user. This is permanent!

% endif

#### Confirm Purge

Are you REALLY sure you want to purge all history for this user?

This is permanent and cannot be undone!

% endif