From: Simon Brandhof
<%= format_measure(files, :suffix => message('widget.size.files.suffix'), :url => url_for_drilldown(files)) -%> <%= dashboard_configuration.selected_period? ? format_variation(files) : trend_icon(files) -%>
- <% end %> <% if projects %><%= format_measure(projects, :suffix => message('widget.size.projects.suffix')) -%> <%= dashboard_configuration.selected_period? ? format_variation(projects) : trend_icon(projects) -%>
<% end %> @@ -54,24 +50,18 @@+ <%= format_measure(files, :url => url_for_drilldown(files)) -%> + <%= dashboard_configuration.selected_period? ? format_variation(files) : trend_icon(files) -%> +
+<%= format_measure('directories', :suffix => message('widget.size.directories.suffix'), :url => url_for_drilldown('directories')) -%> <%= dashboard_configuration.selected_period? ? format_variation('directories') : trend_icon('directories') -%>
<% if classes %> -- <%= format_measure(classes, :url => url_for_drilldown(classes)) -%> - <%= dashboard_configuration.selected_period? ? format_variation(classes) : trend_icon(classes) -%> -
-<%= format_measure(packages, :suffix => message('widget.size.packages.suffix'), :url => url_for_drilldown(packages)) -%> <%= dashboard_configuration.selected_period? ? format_variation(packages) : trend_icon(packages) -%>
- <% else %> -- <%= format_measure(files, :url => url_for_drilldown(files)) -%> - <%= dashboard_configuration.selected_period? ? format_variation(files) : trend_icon(files) -%> -
-<%= format_measure('directories', :suffix => message('widget.size.directories.suffix'), :url => url_for_drilldown('directories')) -%> <%= dashboard_configuration.selected_period? ? format_variation('directories') : trend_icon('directories') -%>
+<%= format_measure(classes, :url => url_for_drilldown(classes), :suffix => message('widget.size.classes.suffix')) -%> <%= dashboard_configuration.selected_period? ? format_variation(classes) : trend_icon(classes) -%>
<% end %><%= format_measure(functions, :suffix => message('widget.size.methods.suffix'), :url => url_for_drilldown(functions)) -%> <%= dashboard_configuration.selected_period? ? format_variation(functions) : trend_icon(functions) -%>
<% - if (measure('accessors')) + if measure('accessors') %><%= format_measure('accessors', :suffix => message('widget.size.accessors.suffix'), :url => url_for_drilldown('accessors')) -%> <%= dashboard_configuration.selected_period? ? format_variation('accessors') : trend_icon('accessors') -%>
<% end %> @@ -79,4 +69,4 @@