diff --git a/gitinspector/html/html.header b/gitinspector/html/html.header
index 0c0230c..eb0329d 100644
--- a/gitinspector/html/html.header
+++ b/gitinspector/html/html.header
@@ -41,16 +41,12 @@
}}
}});
- $("table#changes tbody tr td:last-child").filter(function() {{
+ $("table#changes tbody tr td:last-child, table#blame tbody tr td:last-child").filter(function() {{
return parseFloat(this.innerHTML) < MINOR_AUTHOR_PERCENTAGE;
}}).parent().each(function() {{
$(this).after("
").hide();
}}).hide();
- $("table#blame tbody tr td:last-child").filter(function() {{
- return parseFloat(this.innerHTML) < MINOR_AUTHOR_PERCENTAGE;
- }}).parent().hide();
-
$("table#changes thead tr th, table#blame thead tr th").click(function() {{
$(this).parent().find("th strong").remove();
var parentIndex = $(this).index();
@@ -68,7 +64,7 @@
$(this).append(" ▼");
}});
- $("table#changes tfoot tr td:first-child").filter(function() {{
+ $("table#changes tfoot tr td:first-child, table#blame tfoot tr td:first-child").filter(function() {{
this.hiddenCount = $(this).parent().parent().parent().find("tbody tr:hidden").length;
return this.hiddenCount > 0;
}}).each(function() {{
diff --git a/gitinspector/output/blameoutput.py b/gitinspector/output/blameoutput.py
index 5672960..a50cc6d 100644
--- a/gitinspector/output/blameoutput.py
+++ b/gitinspector/output/blameoutput.py
@@ -54,13 +54,12 @@ class BlameOutput(Outputable):
for i, entry in enumerate(blames):
work_percentage = str("{0:.2f}".format(100.0 * entry[1].rows / total_blames))
- blame_xml += "" if i % 2 == 1 else ">")
if format.get_selected() == "html":
author_email = self.changes.get_latest_email_by_author(entry[0])
- blame_xml += "{1} | ".format(gravatar.get_url(author_email), entry[0])
+ blame_xml += "
{1} | ".format(gravatar.get_url(author_email), entry[0])
else:
- blame_xml += "" + entry[0] + " | "
+ blame_xml += "
" + entry[0] + " | "
blame_xml += "" + str(entry[1].rows) + " | "
blame_xml += "" + ("{0:.1f}".format(Blame.get_stability(entry[0], entry[1].rows, self.changes)) + " | ")