Revision 370c1135
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
SL/Controller/CsvImport.pm | ||
---|---|---|
100 | 100 |
} |
101 | 101 |
|
102 | 102 |
if ($data->{progress}{finished} || $data->{errors}) { |
103 |
$self->render('csv_import/_deferred_report', { no_layout => 1 });
|
|
103 |
$self->render('csv_import/_deferred_report', { layout => 0 });
|
|
104 | 104 |
} else { |
105 | 105 |
if (!$self->task_server->is_running) { |
106 | 106 |
$self->task_server->start; |
... | ... | |
111 | 111 |
$self->{status_text} = t8('Import not started yet, please wait...'); |
112 | 112 |
} |
113 | 113 |
|
114 |
$self->render('csv_import/_deferred_results', { no_layout => 1 });
|
|
114 |
$self->render('csv_import/_deferred_results', { layout => 0 });
|
|
115 | 115 |
} |
116 | 116 |
} |
117 | 117 |
|
... | ... | |
184 | 184 |
$self->{pages} = $pages; |
185 | 185 |
$self->{base_url} = $self->url_for(action => 'report', id => $report_id, no_layout => $params{no_layout} || $::form->{no_layout} ); |
186 | 186 |
|
187 |
$self->render('csv_import/report', { no_layout => $params{no_layout} || $::form->{no_layout} });
|
|
187 |
$self->render('csv_import/report', { layout => !($params{no_layout} || $::form->{no_layout}) });
|
|
188 | 188 |
} |
189 | 189 |
|
190 | 190 |
|
Auch abrufbar als: Unified diff
Refactoring render-Parameter: Reste zu 7647d46