mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-06 09:03:25 +00:00
Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@24085 e93f8b46-1217-0410-a6f0-8f06a7374b81
30 lines
768 B
Plaintext
30 lines
768 B
Plaintext
<% @gantt.view = self %>
|
|
|
|
<div class="contextual"></div>
|
|
|
|
<h2><%= @query.new_record? ? l(:label_gantt) : @query.name %></h2>
|
|
|
|
<% if @query.persisted? && @query.description.present? %>
|
|
<%= content_tag('p', @query.description, class: 'subtitle') %>
|
|
<% end %>
|
|
|
|
<%= render partial: 'query_form', locals: {project: @project, query: @query, gantt: @gantt} %>
|
|
<%= error_messages_for 'query' %>
|
|
|
|
<% if @query.valid? %>
|
|
<%= render partial: 'chart', locals: {gantt: @gantt, query: @query} %>
|
|
<% end %>
|
|
|
|
<% content_for :sidebar do %>
|
|
<%= render partial: 'issues/sidebar' %>
|
|
<% end %>
|
|
|
|
<% html_title l(:label_gantt) %>
|
|
|
|
<% content_for :header_tags do %>
|
|
<%= stylesheet_link_tag 'gantt', media: 'all' %>
|
|
<%= javascript_include_tag 'raphael' %>
|
|
<% end %>
|
|
|
|
<%= context_menu %>
|