summaryrefslogtreecommitdiffstats
path: root/app/views/gantts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-15 21:18:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-15 21:18:06 +0000
commitb48291ec63b58224df7b250ba62445dcbf5c835e (patch)
treead8ad421ae1b5a103fc23765f982ff8e32e06888 /app/views/gantts
parent6a586c39e9f018d8bf787d5b78a54fa61e478cc6 (diff)
downloadredmine-b48291ec63b58224df7b250ba62445dcbf5c835e.tar.gz
redmine-b48291ec63b58224df7b250ba62445dcbf5c835e.zip
Adds an application setting to limit the number of items that can be displayed on the gantt chart (#6276).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4513 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/gantts')
-rw-r--r--app/views/gantts/show.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index 4f3026065..d0f4f9f29 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -67,6 +67,11 @@ t_height = g_height + headers_height
%>
+
+<% if @gantt.truncated %>
+ <p class="warning"><%= l(:notice_gantt_chart_truncated, :max => @gantt.max_rows) %></p>
+<% end %>
+
<table width="100%" style="border:0; border-collapse: collapse;">
<tr>
<td style="width:<%= subject_width %>px; padding:0px;">