<% i = 1 %> % for entry in download_list:
  • % if entry["different_file_name"]:
    ${entry["filename"]}
    % else:
    ${entry["filename"]}
    % endif
    Server: ${entry["server_name"]}, Canale: ${entry["channel"]}, Bot: ${entry["bot"]}
    ${ _('Loading...') }
    ${(entry["downloaded_size"] / (1024*1024))} ${ _('MB of') } ${(entry["packet_size"] / (1024*1024))} MB (${entry["percent_progress"]}%) ${entry["speed"]} KB/s ${ _('time remaining') } ${entry["remain_time"]}
    % if entry["exception_message"] != "":
    ${ _('Error:') } ${entry["exception_message"].decode('utf-8')}
    % endif % if entry["message"] != "":
    ${ _('Message') } ${entry["message"].decode('utf-8')}
    % endif
    % if entry["is_running"]: % if entry["download_state"] == "START": % endif % if entry["download_state"] == "PAUSE": % endif % else: % endif <% i = i+ 1 %>
  • % endfor