1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

View switches from gantt to list after editing an issue (#31552).

Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18322 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2019-06-29 05:28:49 +00:00
parent 05d365a399
commit 71daf9134a
2 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
<%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do -%> <%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do -%>
<%= hidden_field_tag 'back_url', url_for(:params => request.query_parameters), :id => nil %>
<table class="cal"> <table class="cal">
<thead> <thead>
<tr><th scope="col" title="<%= l(:label_week) %>" class="week-number"></th><% 7.times do |i| %><th scope="col"><%= day_name( (calendar.first_wday+i)%7 ) %></th><% end %></tr> <tr><th scope="col" title="<%= l(:label_week) %>" class="week-number"></th><% 7.times do |i| %><th scope="col"><%= day_name( (calendar.first_wday+i)%7 ) %></th><% end %></tr>

View File

@ -166,6 +166,7 @@
<%= content_tag(:div, "", :style => style, :class => "gantt_hdr") %> <%= content_tag(:div, "", :style => style, :class => "gantt_hdr") %>
<%= content_tag(:div, :class => "gantt_subjects") do %> <%= content_tag(:div, :class => "gantt_subjects") do %>
<%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do -%> <%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do -%>
<%= hidden_field_tag 'back_url', url_for(:params => request.query_parameters), :id => nil %>
<%= @gantt.subjects.html_safe %> <%= @gantt.subjects.html_safe %>
<% end %> <% end %>
<% end %> <% end %>
@ -343,6 +344,7 @@
<% end %> <% end %>
<%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do -%> <%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do -%>
<%= hidden_field_tag 'back_url', url_for(:params => request.query_parameters), :id => nil %>
<%= @gantt.lines.html_safe %> <%= @gantt.lines.html_safe %>
<% end %> <% end %>