2 issues = @snapshot.measure('violations')
3 open_issues = @snapshot.measure('open_issues')
4 reopened_issues = @snapshot.measure('reopened_issues')
5 confirmed_issues = @snapshot.measure('confirmed_issues')
7 issues_search_options = {}
8 issues_search_options['resolved'] = 'false'
9 issues_search_options['componentRoots'] = @project.key
13 <td valign="top" width="25%">
15 <h3><%= message('widget.unresolved_issues_statuses.unresolved_issues') -%></h3>
16 <div class="marginbottom10">
18 <%= format_measure(issues, :url => url_for({:controller => 'issues', :action => 'search' }.merge(issues_search_options))) -%>
20 <%= dashboard_configuration.selected_period? ? format_variation(issues) : trend_icon(issues) -%>
24 <td valign="top" width="25%">
26 <h3><%= message('issue.status.OPEN') -%></h3>
27 <div class="marginbottom10">
29 <%= format_measure(open_issues, :url => url_for({:controller => 'issues', :action => 'search', :statuses => 'OPEN'}.merge(issues_search_options))) -%>
31 <%= dashboard_configuration.selected_period? ? format_variation(open_issues) : trend_icon(open_issues) -%>
35 <td valign="top" width="25%">
37 <h3><%= message('issue.status.REOPENED') -%></h3>
38 <div class="marginbottom10">
40 <%= format_measure(reopened_issues, :url => url_for({:controller => 'issues', :action => 'search', :statuses => 'REOPENED'}.merge(issues_search_options))) -%>
42 <%= dashboard_configuration.selected_period? ? format_variation(reopened_issues) : trend_icon(reopened_issues) -%>
46 <td valign="top" width="25%">
48 <h3><%= message('issue.status.CONFIRMED') -%></h3>
49 <div class="marginbottom10">
51 <%= format_measure(confirmed_issues, :url => url_for({:controller => 'issues', :action => 'search', :statuses => 'CONFIRMED'}.merge(issues_search_options))) -%>
53 <%= dashboard_configuration.selected_period? ? format_variation(confirmed_issues) : trend_icon(confirmed_issues) -%>