]> source.dussan.org Git - sonarqube.git/commitdiff
Remove useless space in ui
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 24 Mar 2014 08:37:35 +0000 (09:37 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 24 Mar 2014 08:37:44 +0000 (09:37 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/measures/_display_treemap.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_param.html.erb

index 078a1b13fee448a9056503511d69bfaa2ad7a1c3..83b28588f8b953d48f9e25728b94f083725a687a 100644 (file)
@@ -14,8 +14,7 @@
          end %>
       <% if filter.display.color_metric %>
         <td class="thin nowrap">
-          <span class="note"><%= message('color') -%>
-            : <b><%= filter.display.color_metric.short_name -%></b> <%= render :partial => 'treemap/gradient', :locals => {:metric => filter.display.color_metric} %></span>
+          <span class="note"><%= message('color') -%>: <b><%= filter.display.color_metric.short_name -%></b> <%= render :partial => 'treemap/gradient', :locals => {:metric => filter.display.color_metric} %></span>
         </td>
       <%
          colspan += 1
index b2adcd1acacc05dbf6cbadebfdd823350b6cd5bb..98cce3c05f3d2434041f168b7d09e6d46cfd426d 100644 (file)
@@ -79,8 +79,7 @@
               <%= message(rule.inherited? ? 'rules_configuration.rule_inherited_from_profile_x' : 'rules_configuration.rule_overriding_from_profile_x', :params => parent_active_rule_link) -%>
               <% if parent_active_rule.severity != rule.severity %>
                 <img src="<%= ApplicationController.root_context -%>/images/overrides.png" alt="Overrides parent definition" title="<%= message('rules_configuration.overrides_parent_definition') -%>" style="vertical-align: middle"/>
-                <span class="form-val-note" style="font-weight: bold"> <%= message('rules_configuration.original_severity') -%>
-                  : <%= parent_active_rule.severity -%></span>
+                <span class="form-val-note" style="font-weight: bold"> <%= message('rules_configuration.original_severity') -%>: <%= parent_active_rule.severity -%></span>
               <% end %>
               <% if profiles_administrator? && rule.overrides? %>
                 <form action="<%= url_for :overwrite_params => {:action => 'revert_rule', :id => profile.id, :active_rule_id => rule.activeRuleId} -%>" method="post" style="display: inline">
index 7235ac2d3c931c22342dc3ec0217c485e4670acc..a92faee7ee1fcae131cc6902ac57152013e276c5 100644 (file)
@@ -36,8 +36,7 @@
     <% if ancestor_value != param_value %>
       <img src="<%= ApplicationController.root_context -%>/images/overrides.png" alt="Overrides parent definition" title="<%= message('rules_configuration.overrides_parent_definition') -%>" style="vertical-align: middle"/>
       <span class="form-val-note" style="font-weight: bold; vertical-align: middle;">
-        <%= message('rules_configuration.original_value') -%>
-        : <%= ancestor_value.blank? ? '(' + message('rules_configuration.parent_parameter.empty') + ')' : ancestor_value -%>
+        <%= message('rules_configuration.original_value') -%>: <%= ancestor_value.blank? ? '(' + message('rules_configuration.parent_parameter.empty') + ')' : ancestor_value -%>
       </span>
     <% end %>
   <% end %>