]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2319 Add some HTML ids for integration tests
authorsimonbrandhof <simon.brandhof@gmail.com>
Thu, 5 May 2011 16:30:20 +0000 (18:30 +0200)
committersimonbrandhof <simon.brandhof@gmail.com>
Thu, 5 May 2011 16:30:20 +0000 (18:30 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb

index 5dba13b986966878934e497ba82ed7e5f9b50cff..c21ef1e34e49f38dcd08c02a05d3d53a86a6dee4 100644 (file)
 
 <% if @profile1 && @profile2 %>
 
-  <table class="header1">
+  <table class="header1" id="comparison-header">
     <tr>
       <td width="25%">
         <p>Only in <%= h(@profile1.name) -%></p>
-        <span class="big"><a href="#in1"><%= @in1.size -%></a></span> rules
+        <span class="big"><a href="#in1" id="in1Value"><%= @in1.size -%></a></span> rules
       </td>
       <td width="25%">
         <p>Only in <%= h(@profile2.name) -%></p>
-        <span class="big"><a href="#in2"><%= @in2.size -%></a></span> rules
+        <span class="big"><a href="#in2" id="in2Value"><%= @in2.size -%></a></span> rules
       </td>
       <td width="25%">
         <p>With different configuration</p>
-        <span class="big"><a href="#modified"><%= @modified.size -%></a></span> rules
+        <span class="big"><a href="#modified" id="modifiedValue"><%= @modified.size -%></a></span> rules
       </td>
       <td width="25%">
         <p>With same configuration</p>
-        <span class="big"><%= @sames.size -%></span> rules
+        <span class="big" id="sameValue"><%= @sames.size -%></span> rules
       </td>
     </tr>
   </table>