aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-05-23 14:05:23 +0200
committerStas Vilchik <vilchiks@gmail.com>2014-05-23 14:05:23 +0200
commita0b4d3b10d08610ea87941c56987ac12565d0569 (patch)
tree85a3d8214275ed2c617786432a170ac941e0b107 /plugins
parent1cf6d415b7e9b580c7a683a07f3325e80455e585 (diff)
downloadsonarqube-a0b4d3b10d08610ea87941c56987ac12565d0569.tar.gz
sonarqube-a0b4d3b10d08610ea87941c56987ac12565d0569.zip
SONAR-5333 Fix whitespaces
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/coverage.html.erb1
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issues.html.erb14
2 files changed, 7 insertions, 8 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/coverage.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/coverage.html.erb
index 8473cb4216a..b2b13fb0680 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/coverage.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/coverage.html.erb
@@ -141,6 +141,7 @@
<% end %>
<div class="widget-measure">
+ <span class="widget-label">&nbsp;</span>
<span class="nowrap">
<%= format_measure(execution_time, :url => url_for_drilldown('test_execution_time')) %>
<%= dashboard_configuration.selected_period? ? format_variation(execution_time) : trend_icon(execution_time) -%>
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issues.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issues.html.erb
index 8716ea0c682..99a069dc583 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issues.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issues.html.erb
@@ -31,15 +31,14 @@
%>
<% if new_issues_variation && new_issues_variation > 0 %>
<p class="small">
- <%= message('widget.rules.added') -%>
+ <%= message('widget.rules.added') %>
<a href="<%= url_for(:controller => 'drilldown', :action => 'issues', :id => @project.key, :period => dashboard_configuration.period_index) -%>"
- class="varw widget-link widget-link-red link-<%= widget.key %>-new-issues">
- <%= format_variation(new_issues, :style => 'none', :default => '-') -%></a>
+ class="varw widget-link widget-link-red link-<%= widget.key %>-new-issues"><%= format_variation(new_issues, :style => 'none', :default => '-') -%></a>
</p>
<% end %>
<% if estimated_cleared_issues && estimated_cleared_issues > 0 %>
<p class="small">
- <%= message('widget.rules.removed') -%>
+ <%= message('widget.rules.removed') %>
<span class="varb"><%= number_with_precision(estimated_cleared_issues, :precision => 0) -%></span>
</p>
<% end %>
@@ -69,15 +68,14 @@
%>
<% if new_technical_debt_variation && new_technical_debt_variation > 0 %>
<p class="small">
- <%= message('widget.rules.added') -%>&nbsp;
+ <%= message('widget.rules.added') %>
<a href="<%= url_for_drilldown('new_technical_debt', :period => @dashboard_configuration.period_index) -%>"
- class="varw widget-link widget-link-red link-<%= widget.key %>-new-debt">
- <%= format_variation(new_technical_debt, :style => 'none', :default => '-') -%></a>
+ class="varw widget-link widget-link-red link-<%= widget.key %>-new-debt"><%= format_variation(new_technical_debt, :style => 'none', :default => '-') -%></a>
</p>
<% end %>
<% if estimated_cleared_technical_debt && estimated_cleared_technical_debt > 0 %>
<p class="small">
- <%= message('widget.rules.removed') -%>&nbsp;
+ <%= message('widget.rules.removed') %>
<span class="varb"><%= Internal.i18n.formatLongDuration(estimated_cleared_technical_debt, 'SHORT') -%></span>
</p>
<% end %>