]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4466 Added id on HTML element
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Thu, 18 Jul 2013 12:27:54 +0000 (14:27 +0200)
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Thu, 18 Jul 2013 12:27:54 +0000 (14:27 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/index.html.erb

index 16f65a695b4c9576d804c7a2fe84ffc0ce3f4b91..1f3fe568467fad80df12c415aeff60760d2d1a3f 100644 (file)
@@ -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">