diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-15 21:18:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-15 21:18:06 +0000 |
commit | b48291ec63b58224df7b250ba62445dcbf5c835e (patch) | |
tree | ad8ad421ae1b5a103fc23765f982ff8e32e06888 /app/views/gantts | |
parent | 6a586c39e9f018d8bf787d5b78a54fa61e478cc6 (diff) | |
download | redmine-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.erb | 5 |
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;"> |