aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-09-07 10:50:29 +0200
committerFabrice Bellingard <bellingard@gmail.com>2011-09-07 10:50:29 +0200
commit633d579416a0c44bc3ed32d27dc68e8422346ce7 (patch)
tree64700f8029a8492d2ffba392c521f0219a67bd60 /plugins
parent63329ceca3d640a65c1507853eb1ff9892ad2425 (diff)
downloadsonarqube-633d579416a0c44bc3ed32d27dc68e8422346ce7.tar.gz
sonarqube-633d579416a0c44bc3ed32d27dc68e8422346ce7.zip
SONAR-2074 Remove the "Date" label.
Based on Simon's feedback, it's true that it's useless and does not help much on usability.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb
index 945ee82d7c1..58f6fe9376d 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb
@@ -108,11 +108,6 @@
end
js_events = js_events.chomp(',') + "]"
end
-
- # And prepare translations for labels
- js_translations = "{"
- js_translations += "\"date\":\"" + message("date") + "\""
- js_translations += "}"
%>
@@ -135,14 +130,12 @@
var data = <%= js_data -%>;
var snapshots = <%= js_snapshots -%>;
var metrics = <%= js_metrics -%>;
- var translations = <%= js_translations -%>;
var events = <%= js_events ? js_events : "null" -%>;
var timeline = new SonarWidgets.Timeline('timeline-chart-<%= widget.id -%>')
.height(<%= chartHeight -%>)
.data(data)
.snapshots(snapshots)
.metrics(metrics)
- .translations(translations)
.events(events);
timeline.render();