package_cycles=measure('package_cycles')
package_feedback_edges=measure('package_feedback_edges')
package_tangles=measure('package_tangles')
+ dsm_url = ApplicationController.root_context + '/design/index/' + @resource.key
%>
<div class="widget-row">
<div class="widget-span widget-span-5">
<div class="widget-measure widget-measure-main">
<span class="widget-label"><%= message('widget.package_design.package_tangle_index') -%></span>
<span class="nowrap">
- <%= format_measure(package_tangle_index, :suffix => '', :default => '-', :url => url_for_drilldown(package_tangle_index)) %>
+ <%= format_measure(package_tangle_index, :suffix => '', :default => '-', :url => dsm_url) %>
<%= dashboard_configuration.selected_period? ? format_variation(package_tangle_index) : trend_icon(package_tangle_index) -%>
</span>
</div>
<span class="widget-label"><%= message('widget.package_design.cycles.suffix') -%></span>
<span class="nowrap">
<span class="widget-medium">></span>
- <%= format_measure(package_cycles, :default => '-', :url => url_for_drilldown(package_cycles)) %>
+ <%= format_measure(package_cycles, :default => '-', :url => dsm_url) %>
<%= dashboard_configuration.selected_period? ? format_variation(package_cycles) : trend_icon(package_cycles) -%>
</span>
</div>
<div class="widget-measure">
<span class="widget-label"><%= message('widget.package_design.between_packages.suffix') -%></span>
<span class="nowrap">
- <%= format_measure(package_feedback_edges, :default => '-', :url => url_for_drilldown(package_feedback_edges)) %>
+ <%= format_measure(package_feedback_edges, :default => '-', :url => dsm_url) %>
<%= dashboard_configuration.selected_period? ? format_variation(package_feedback_edges) : trend_icon(package_feedback_edges) -%>
</span>
</div>
<div class="widget-measure">
<span class="widget-label"><%= message('widget.package_design.between_files.suffix') -%></span>
<span class="nowrap">
- <%= format_measure(package_tangles, :default => '-', :url => url_for_drilldown(package_tangles)) %>
+ <%= format_measure(package_tangles, :default => '-', :url => dsm_url) %>
<%= dashboard_configuration.selected_period? ? format_variation(package_tangles) : trend_icon(package_tangles) -%>
</span>
</div>
</div>
</div>
-<% end %>
\ No newline at end of file
+<% end %>
widget.file_design.cycles.suffix=\ cycles
widget.file_design.suspect_file_dependencies=Suspect file dependencies
-widget.package_design.name=Package Design
-widget.package_design.description=Reports on package dependency cycles and tangle index.
-widget.package_design.package_tangle_index=Package tangle index
+widget.package_design.name=File Design
+widget.package_design.description=Reports on file and directory dependency cycles.
+widget.package_design.package_tangle_index=Directory tangle index
widget.package_design.cycles.suffix=\ cycles
widget.package_design.dependencies_to_cut=Dependencies to cut
-widget.package_design.between_packages.suffix=\ between packages
+widget.package_design.between_packages.suffix=\ between directories
widget.package_design.between_files.suffix=\ between files
widget.hotspot_metric.name=Metric Hotspot