aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-04-08 11:08:40 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-04-08 11:08:48 +0200
commit90b7d0007daf4fb9c0777f26df2dfd74d46349ce (patch)
tree45dccd2b4607622e26098e2b4c1e5529efb0fbf5
parent594d162c72e325ea25f4ff767a49e00f0ed66b44 (diff)
downloadsonarqube-90b7d0007daf4fb9c0777f26df2dfd74d46349ce.tar.gz
sonarqube-90b7d0007daf4fb9c0777f26df2dfd74d46349ce.zip
SONAR-5162 Wrong display of license properties when they have no description
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb
index 586698c4ea2..f12dcb75940 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb
@@ -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 -%>