2 package_tangle_index=measure('package_tangle_index')
3 if package_tangle_index
4 package_cycles=measure('package_cycles')
5 package_feedback_edges=measure('package_feedback_edges')
6 package_tangles=measure('package_tangles')
8 <div class="widget-row">
9 <div class="widget-span widget-span-5">
10 <div class="widget-measure-container">
11 <div class="widget-measure widget-measure-main">
12 <span class="widget-label"><%= message('widget.package_design.package_tangle_index') -%></span>
14 <%= format_measure(package_tangle_index, :suffix => '', :default => '-', :url => url_for_drilldown(package_tangle_index)) %>
15 <%= dashboard_configuration.selected_period? ? format_variation(package_tangle_index) : trend_icon(package_tangle_index) -%>
19 <% if package_cycles %>
20 <div class="widget-measure">
21 <span class="widget-label"><%= message('widget.package_design.cycles.suffix') -%></span>
23 <span class="widget-medium">></span>
24 <%= format_measure(package_cycles, :default => '-', :url => url_for_drilldown(package_cycles)) %>
25 <%= dashboard_configuration.selected_period? ? format_variation(package_cycles) : trend_icon(package_cycles) -%>
32 <div class="widget-span widget-span-5">
33 <div class="widget-measure-container">
34 <div class="widget-measure widget-measure-main">
35 <span class="widget-label"><%= message('widget.package_design.dependencies_to_cut') -%></span>
38 <% if package_feedback_edges %>
39 <div class="widget-measure">
40 <span class="widget-label"><%= message('widget.package_design.between_packages.suffix') -%></span>
42 <%= format_measure(package_feedback_edges, :default => '-', :url => url_for_drilldown(package_feedback_edges)) %>
43 <%= dashboard_configuration.selected_period? ? format_variation(package_feedback_edges) : trend_icon(package_feedback_edges) -%>
48 <% if package_tangles %>
49 <div class="widget-measure">
50 <span class="widget-label"><%= message('widget.package_design.between_files.suffix') -%></span>
52 <%= format_measure(package_tangles, :default => '-', :url => url_for_drilldown(package_tangles)) %>
53 <%= dashboard_configuration.selected_period? ? format_variation(package_tangles) : trend_icon(package_tangles) -%>