去掉甘特图中导出pdf功能

This commit is contained in:
huang 2016-09-27 11:59:48 +08:00
parent 436fbb89a8
commit c339b3e4a3
1 changed files with 1 additions and 4 deletions

View File

@ -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 %>