Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mutalyzer
mutalyzer2
Commits
e544a317
Commit
e544a317
authored
Nov 03, 2015
by
Vermaat
Browse files
Fix alignment in admin batch jobs listing
parent
05ad5b87
Changes
1
Hide whitespace changes
Inline
Side-by-side
mutalyzer/entrypoints/admin.py
View file @
e544a317
...
...
@@ -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
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment