diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2011-12-22 19:15:38 +0100 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2011-12-22 19:17:22 +0100 |
commit | f9939c9840d1d0e6e24eebeb5a9309aa1ebba6a8 (patch) | |
tree | 10dd21e3c3142f9723737b212df972d180b72e1d /plugins | |
parent | f753e1a452ff1f42478399e152e0debcc167dc20 (diff) | |
download | sonarqube-f9939c9840d1d0e6e24eebeb5a9309aa1ebba6a8.tar.gz sonarqube-f9939c9840d1d0e6e24eebeb5a9309aa1ebba6a8.zip |
SONAR-2662 Fix some issues
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/reviews_per_developer.html.erb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/reviews_per_developer.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/reviews_per_developer.html.erb index 4a573f3117b..ae699f45e6c 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/reviews_per_developer.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/reviews_per_developer.html.erb @@ -1,6 +1,6 @@ <% options = {} - options['statuses'] = 'OPEN,REOPENED' + options['statuses'] = "#{Review::STATUS_OPEN},#{Review::STATUS_REOPENED}" options['projects'] = @project.key if @dashboard_configuration.selected_period? from_date = dashboard_configuration.from_datetime @@ -57,8 +57,8 @@ <tr class="<%= cycle 'even', 'odd', :name => (div_id) -%>"> <td class="max-width"> <%= link_to dev.name, - :controller => "reviews", :action => "index", :statuses => ['OPEN','REOPENED'], :assignee_login => dev.login, - :projects => [@project.id], :from => from_date, :to => to_date -%> + :controller => "project_reviews", :action => "index", :statuses => "#{Review::STATUS_OPEN},#{Review::STATUS_REOPENED}", :assignees => dev.login, + :projects => @project.id, :from => from_date, :to => to_date -%> </td> <td class="nowrap"> <%= '+' if @dashboard_configuration.selected_period? -%><%= count.to_s -%> @@ -77,8 +77,8 @@ <tr class="<%= cycle 'even', 'odd', :name => (div_id) -%>"> <td class="max-width"> <%= link_to message('widget.reviews_per_developer.not_assigned'), - :controller => "reviews", :action => "index", :statuses => ['OPEN','REOPENED'], :assignee_login => '', - :projects => [@project.id], :from => from_date, :to => to_date -%> + :controller => "project_reviews", :action => "index", :statuses => "#{Review::STATUS_OPEN},#{Review::STATUS_REOPENED}", :assignees => '', + :projects => @project.id, :from => from_date, :to => to_date -%> </td> <td class="nowrap"> <%= '+' if @dashboard_configuration.selected_period? -%><%= counter_no_assignee.to_s -%> |