aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-18 14:27:54 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-18 14:27:54 +0200
commit121abb76a2abb363f4dbac1f0fb548717724ecfc (patch)
tree5631fa4066fef41861cda4f103c6ae489ee59c38
parent3e72f107652d98f9b78c65498d66fd34b511d2d1 (diff)
downloadsonarqube-121abb76a2abb363f4dbac1f0fb548717724ecfc.tar.gz
sonarqube-121abb76a2abb363f4dbac1f0fb548717724ecfc.zip
SONAR-4466 Added id on HTML element
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb
index 16f65a695b4..1f3fe568467 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb
@@ -78,7 +78,7 @@
end
if qualifiers.length > 0
%>
- <%= image_tag 'tick.png', :id => "is_active_#{u permission_template.name}" %><span class="small gray">(Default for <%= qualifiers.collect {|q| message('qualifier.' + q)}.join(', ') %>)</span>
+ <%= image_tag 'tick.png', :alt => 'is_default' %><span class="small gray" id="<%= "is-default-#{u permission_template.name}" %>">(Default for <%= qualifiers.collect {|q| message('qualifier.' + q)}.join(', ') %>)</span>
<% end %>
</td>
<td align="right">