36524-remove_import_sidebars.patch

Felix Schäfer, 2022-01-25 20:37

Download (2.63 KB)

View differences:

app/views/imports/_issues_sidebar.html.erb
1
<% content_for :sidebar do %>
2
  <%= render :partial => 'issues/sidebar' %>
3
<% end %>
app/views/imports/_time_entries_sidebar.html.erb
1
<% content_for :sidebar do %>
2
  <%= render :partial => 'timelog/sidebar' %>
3
<% end %>
app/views/imports/mapping.html.erb
23 23
  </p>
24 24
<% end %>
25 25

  
26
<%= render_if_exist :partial => "#{import_partial_prefix}_sidebar" %>
27

  
28 26
<%= javascript_tag do %>
29 27
$(document).ready(function() {
30 28
  $('#import-form').submit(function(){
app/views/imports/new.html.erb
11 11
  </fieldset>
12 12
  <p><%= submit_tag l(:label_next).html_safe + " &#187;".html_safe, :name => nil %></p>
13 13
<% end %>
14

  
15
<%= render_if_exist :partial => "#{import_partial_prefix}_sidebar" %>
app/views/imports/run.html.erb
4 4
  <div id="import-progress"><div id="progress-label">0 / <%= @import.total_items.to_i %></div></div>
5 5
</div>
6 6

  
7
<%= render_if_exist :partial => "#{import_partial_prefix}_sidebar" %>
8

  
9 7
<%= javascript_tag do %>
10 8
$(document).ready(function() {
11 9
  $('#import-details').addClass('ajax-loading');
app/views/imports/settings.html.erb
30 30
  </fieldset>
31 31
  <p><%= submit_tag l(:label_next).html_safe + " &#187;".html_safe, :name => nil %></p>
32 32
<% end %>
33

  
34
<%= render_if_exist :partial => "#{import_partial_prefix}_sidebar" %>
app/views/imports/show.html.erb
26 26
    </tbody>
27 27
  </table>
28 28
<% end %>
29

  
30
<%= render_if_exist :partial => "#{import_partial_prefix}_sidebar" %>