Commit ea8a48eb authored by Michal Čihař's avatar Michal Čihař

Fix reports header

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 421c9340
...@@ -173,7 +173,7 @@ def get_counts(request, project, subproject): ...@@ -173,7 +173,7 @@ def get_counts(request, project, subproject):
if form.cleaned_data['style'] == 'html': if form.cleaned_data['style'] == 'html':
start = ( start = (
'<table>\n<tr><th>Email</th><th>Name</th>' '<table>\n<tr><th>Name</th><th>Email</th>'
'<th>Words</th><th>Count</th></tr>' '<th>Words</th><th>Count</th></tr>'
) )
row_start = '<tr>' row_start = '<tr>'
...@@ -185,8 +185,8 @@ def get_counts(request, project, subproject): ...@@ -185,8 +185,8 @@ def get_counts(request, project, subproject):
heading = ' '.join(['=' * 25] * 4) heading = ' '.join(['=' * 25] * 4)
start = '{0}\n{1:25} {2:25} {3:25} {4:25}\n{0}'.format( start = '{0}\n{1:25} {2:25} {3:25} {4:25}\n{0}'.format(
heading, heading,
'Email',
'Name', 'Name',
'Email',
'Words', 'Words',
'Count' 'Count'
) )
......
Markdown is supported
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