aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-12-15 14:45:40 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-12-15 14:45:40 +0000
commitd75084701f532df463c40040f115f38f53bc6b8b (patch)
tree4fa4b79057829dd9d3a8c037530b09313ed316b3 /plugins
parent0c194410e18fde3348b730e862a762d6f43da727 (diff)
downloadsonarqube-d75084701f532df463c40040f115f38f53bc6b8b.tar.gz
sonarqube-d75084701f532df463c40040f115f38f53bc6b8b.zip
SONAR-249 add span ids to html
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb
index 8d8058226be..5ad038419f8 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb
@@ -7,12 +7,12 @@
<tbody>
<tr>
<td>Key: </td>
- <td><%= @project.key -%></td>
+ <td id="resource_key"><%= @project.key -%></td>
</tr>
<% if @project.language %>
<tr>
<td>Language: </td>
- <td><%= @project.language -%></td>
+ <td id="resource_language"><%= @project.language -%></td>
</tr>
<% end %>
<%
@@ -21,7 +21,7 @@
%>
<tr>
<td>Profile:</td>
- <td><%= link_to profile_measure.data, {:controller => '/rules_configuration', :action => 'index', :id => profile_measure.value.to_i}, :id => 'profile_link' -%></td>
+ <td id="resource_profile"><%= link_to profile_measure.data, {:controller => '/rules_configuration', :action => 'index', :id => profile_measure.value.to_i}, :id => 'profile_link' -%></td>
</tr>
<% end %>
<% if Project::SCOPE_SET==@project.scope %>
@@ -33,7 +33,7 @@
<% unless @project.project_links.empty? %>
<tr>
<td>Links: </td>
- <td>
+ <td id="resource_links">
<% @project.project_links.sort.each do |link| %>
<%= link_to(image_tag(link.icon, :alt => link.name), link.href , :popup => true, :class => 'nolink') -%> <%= link_to(h(link.name), link.href, :popup => true) -%><br/>
<% end %>