]> source.dussan.org Git - sonarqube.git/commitdiff
Add HTML ID for integration tests
authorSimon Brandhof <simon.brandhof@gmail.com>
Thu, 6 Dec 2012 10:34:47 +0000 (11:34 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Thu, 6 Dec 2012 10:34:47 +0000 (11:34 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/measures/search.html.erb

index 3e6fa4652b96f0859613fda215e0d8d14dabaa01..d77833b6ed9826512ba689f33f43b7361e17d3d9 100644 (file)
@@ -19,7 +19,7 @@
             <li>
               <%= message 'measure_filter.display_as' -%>:
               <% MeasureFilterDisplay.keys.each do |display_key| %>
-                <%= link_to_if display_key!=@filter.display.key, message("measure_filter.display.#{display_key}"), params.merge(:action => 'search', :display => display_key, :id => @filter.id) -%>
+                <%= link_to_if display_key!=@filter.display.key, message("measure_filter.display.#{display_key}"), params.merge(:action => 'search', :display => display_key, :id => @filter.id), :id => "display_as_#{display_key}" -%>
               <% end %>
             </li>
             <% if logged_in? %>