summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-02-22 09:55:10 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2013-02-22 09:55:10 +0100
commitce74d49343ac3e36ab29a26288782c86a8bf70f4 (patch)
tree4786cd8e7b56cb4402e3412dcd8d5a8bd5927ebe
parentb0b2a643e1f9d24697780477e64620b28da5743a (diff)
downloadsonarqube-ce74d49343ac3e36ab29a26288782c86a8bf70f4.tar.gz
sonarqube-ce74d49343ac3e36ab29a26288782c86a8bf70f4.zip
Add HTML classes
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb
index ad2891711b6..2808195e612 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb
@@ -31,7 +31,7 @@ function upgradePlugin(key) {
updates.each_with_index do |update, index|
release=update.release
%>
- <tr class="<%= css -%>" id="select_<%= plugin.getKey() -%>">
+ <tr class="<%= css -%>" id="select-<%= plugin.getKey() -%>">
<td width="1%" nowrap><% if index==0 %><b><%= h(plugin.getName()) -%></b> <%= @installed_plugins[plugin.getKey()] -%> -> <% end %></td>
<td width="1%" nowrap><b><%= release.getVersion() -%></b></td>
<td width="1%" nowrap><%= release_date(release.getDate()) if release.getDate() -%></td>
@@ -56,7 +56,7 @@ function upgradePlugin(key) {
version = @last_compatible[plugin.getKey()]
dependencies = @updates_by_plugin[plugin].last.dependencies.select {|dependency| dependency.master}
dependencies.each_with_index do |dependency, index| %>
- <tr class="<%= css -%>">
+ <tr class="<%= css -%> dep-<%= plugin.getKey() -%>">
<td> </td>
<td> </td>
<% if index == 0 %>