diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-02-10 18:34:08 +0100 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-02-10 18:34:08 +0100 |
commit | 8aa7e47ea935ef734c6383587023ae3ae7fc6962 (patch) | |
tree | a9842bfca45dbdf9a6c4e6555bbc2caa67da99ff /sonar-server | |
parent | bf5a7b8d94ce9e7d69eed4f2459ce7ac7fd7bfaf (diff) | |
download | sonarqube-8aa7e47ea935ef734c6383587023ae3ae7fc6962.tar.gz sonarqube-8aa7e47ea935ef734c6383587023ae3ae7fc6962.zip |
SONAR-2184 Can not select a period on custom dashboards
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb index 8174a2a8e6d..b03580a90fd 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_header.html.erb @@ -19,7 +19,8 @@ <%= link_to_favourite(@project) -%> Version <%= @snapshot.version -%> - <%= l @snapshot.created_at %> <% if @snapshot.project_snapshot.periods? %> - - <form method="GET" action="<%= url_for :only_path=>true, :overwrite_params => {:period => nil} -%>" style="display: inline"> + <form method="GET" action="<%= url_for :controller => 'dashboard', :action => 'index', :id => @resource.id -%>" style="display: inline"> + <input type="hidden" name="did" value="<%= @dashboard.id -%>" /> <select id="select-comparison" name="period" onchange="submit()" class="small"> <option value="">Time changes...</option> <%= period_select_options(@snapshot, 1) -%> |