diff --git a/miss_hit_core/mh_metric.py b/miss_hit_core/mh_metric.py index 680be0af..b4b25e02 100644 --- a/miss_hit_core/mh_metric.py +++ b/miss_hit_core/mh_metric.py @@ -567,24 +567,28 @@ def write_text_report(fd, def write_html_report(fd, + entry_point, portable_html, all_metrics, ticket_summary, worst_offenders): base_url = PORTABLE_RES_URL if portable_html else RES_URL + if entry_point: + report_title = "MISS_HIT Report for %s" % entry_point + else: + report_title = "MISS_HIT Report" + fd.write("\n") fd.write("\n") fd.write("
\n") fd.write("\n") - # Link style-sheet with a relative path based on where the - # output report file will be fd.write("\n" % base_url) - fd.write("