% if data:

#### % if data.get('media_type'): <% h = {'episode': 'TV Show', 'track': 'Music', 'live': 'Live TV'} %> ${h.get(data['media_type'], data['media_type'].title())} History for ${data['start_date']} % elif data.get('transcode_decision'): <% h = {'copy': 'Direct Stream'} %> ${h.get(data['transcode_decision'], data['transcode_decision'].title())} History for ${data['start_date']} % else: History for ${data['start_date']} % endif

Delete | Date | User | IP Address | Platform | Product | Player | Title | Started | Paused | Stopped | Duration |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---

% else:

#### History

### No data.

% endif