<%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: user_watch_time_stats.html Version: 0.1 Variable names: data [array] data[array_index] :: Usable parameters == Global keys == query_days Returns the duration for the watch stats period. total_plays Returns the play count for the watch stat period.. DOCUMENTATION :: END % if data:

% for a in data:
- % if a['query_days'] == 0:

  #### All Time

  % elif a['query_days'] == 1:

  #### Last 24 hours

  % else:

  #### Last ${a['query_days']} days

  % endif

  ### ${a['total_plays']}

  plays

  ### /

% endfor

% else:
Unable to retrieve data from database.
% endif