]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5162 Wrong display of license properties when they have no description
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 8 Apr 2014 09:08:40 +0000 (11:08 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 8 Apr 2014 09:08:48 +0000 (11:08 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb

index 586698c4ea25cc8c35fe6bdac05457bccb5f8764..f12dcb759409b13d51216b222225263b5d4e5f17 100644 (file)
@@ -58,6 +58,9 @@
                 <% default_prop_value = (@resource ? Property.value(property.key, nil, property.defaultValue) : property.defaultValue) -%>
                 <% unless default_prop_value.blank? -%>
                   <div class="note"><%= message('default') %>: <%= property.type.to_s=='PASSWORD' ? '********' : h(default_prop_value) -%></div>
+                <% else -%>
+                  <!-- SONAR-5162 When no default value, leave a space to add a separation with the description or the key -->
+                  <p class="marginbottom10"></p>
                 <% end -%>
               <% end -%>