Loading...
%import ast %import time %import pretty %for row in rows: %end
Name Date Description
%if row['action'] == 0:
%elif row['action'] == 1:
%elif row['action'] == 2:
%elif row['action'] == 3:
%elif row['action'] == 4:
%end
{{row['title']}}
{{pretty.date(int(row['timestamp']))}}
% upgradable_criteria = dict([('timestamp', row['timestamp']), ('video_path', row['video_path']), ('score', row['score']), ('languages', row['languages'])]) % if upgradable_criteria in upgradable_movies: % if row['languages'] != "None": % desired_languages = ast.literal_eval(str(row['languages'])) % if row['forced'] == "True": % forced_languages = [l + ":forced" for l in desired_languages] % elif row['forced'] == "Both": % forced_languages = [l + ":forced" for l in desired_languages] + desired_languages % else: % forced_languages = desired_languages % end % if row['languages'] and row['language'] and row['language'] in forced_languages:
{{row['description']}}
% else: {{row['description']}} % end % end % else: {{row['description']}} % end
%try: page_size %except NameError: page_size = "25" %end %if page_size != -1:
{{page}} / {{max_page}}
Total Records: {{row_count}}
%end