aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-05-05 18:30:20 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-05-05 18:30:20 +0200
commit10802cc5f02da0a1fabaf922b529fdf9d8688072 (patch)
tree273a2581fa38774929ab9d9fa91d442c0e247f9b
parentb335d77381f3a518d6f587d42438b6af6c3145c5 (diff)
downloadsonarqube-10802cc5f02da0a1fabaf922b529fdf9d8688072.tar.gz
sonarqube-10802cc5f02da0a1fabaf922b529fdf9d8688072.zip
SONAR-2319 Add some HTML ids for integration tests
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb10
1 files changed, 5 insertions, 5 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb
index 5dba13b9869..c21ef1e34e4 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb
@@ -16,23 +16,23 @@
<% 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>