lib/templates/churn.html.erb in p8-metric_fu-0.8.0.16 vs lib/templates/churn.html.erb in p8-metric_fu-0.8.2

- old
+ new

@@ -1,22 +1,19 @@ <html> <head> <title>Source Control Churn Results</title> <style> - <%= inline_css("default.css") %> + <%= open(File.join(MetricFu::TEMPLATE_DIR, "#{template_name}.css")) { |f| f.read } %> </style> </head> <body> <h1>Source Control Churn Results</h1> - <p>Files that change a lot in your project may be bad a sign. - This task uses your source control log to identify those files. - </p> - <table> + <table width="100%" border="1"> <tr><th>File Path</th><th>Times Changed</th></tr> <% @changes.to_a.sort {|x,y| y[1] <=> x[1]}.each do |change| %> <tr><td><%= change[0] %></td><td class='warning'><%= change[1] %></td></tr> <% end %> + </table> - <p>Generated on <%= Time.now.localtime %></p> </body> </html> \ No newline at end of file