Commit e544a317 authored by Vermaat's avatar Vermaat
Browse files

Fix alignment in admin batch jobs listing

parent 05ad5b87
......@@ -186,8 +186,8 @@ def list_batch_jobs():
'email_len': max(len(j.email) for j, _ in batch_jobs_with_counts)
}
template = ('{id:{id_len}} {type:<{type_len}} {added:%Y-%m-%d %H:%M:%S}'
' {count:<{count_len}} {email:{email_len}}')
template = ('{id:>{id_len}} {type:{type_len}} {added:%Y-%m-%d %H:%M:%S}'
' {count:>{count_len}} {email:{email_len}}')
for batch_job, count in batch_jobs_with_counts:
print template.format(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment