Name | Date | Description | |
---|---|---|---|
%if row['action'] == 0:
|
{{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
|