|
|
|
@ -48,10 +48,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
|
|
<p class="contextual">
|
|
|
|
|
<%= gantt_zoom_link(@gantt, :in) %>
|
|
|
|
|
<%= gantt_zoom_link(@gantt, :out) %>
|
|
|
|
|
</p>
|
|
|
|
|
<!--<p class="contextual">-->
|
|
|
|
|
<!--<%#= gantt_zoom_link(@gantt, :in) %>-->
|
|
|
|
|
<!--<%#= gantt_zoom_link(@gantt, :out) %>-->
|
|
|
|
|
<!--</p>-->
|
|
|
|
|
|
|
|
|
|
<p class="buttons">
|
|
|
|
|
<%= text_field_tag 'months', @gantt.months, :size => 2 %>
|
|
|
|
@ -99,9 +99,9 @@
|
|
|
|
|
t_height = g_height + headers_height
|
|
|
|
|
%>
|
|
|
|
|
|
|
|
|
|
<% if @gantt.truncated %>
|
|
|
|
|
<p class="warning"><%= l(:notice_gantt_chart_truncated, :max => @gantt.max_rows) %></p>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%# if @gantt.truncated %>
|
|
|
|
|
<!--<p class="warning"><%#= l(:notice_gantt_chart_truncated, :max => @gantt.max_rows) %></p>-->
|
|
|
|
|
<%# end %>
|
|
|
|
|
|
|
|
|
|
<table style="width:100%; border:0; border-collapse: collapse;">
|
|
|
|
|
<tr>
|
|
|
|
@ -294,10 +294,7 @@
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<% other_formats_links do |f| %>
|
|
|
|
|
<%= f.link_to 'PDF', :url => params.merge(@gantt.params) %>
|
|
|
|
|
<%= f.link_to('PNG', :url => params.merge(@gantt.params)) if @gantt.respond_to?('to_image') %>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<% end # query.valid? %>
|
|
|
|
|
|
|
|
|
|
<% content_for :sidebar do %>
|
|
|
|
|