Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a5de2653

Von Bernd Bleßmann vor mehr als 4 Jahren hinzugefügt

  • ID a5de265327b7877bc32e2a5c5b0fd1d01ac3492f
  • Vorgänger b347874b
  • Nachfolger a19d5fb7

CsvImport: Report-Begrenzung: "Alles" anzeigen als Voreinstellung.

Unterschiede anzeigen:

SL/Controller/CsvImport.pm
163 163
    $::form->error(t8('No report with id #1', $report_id));
164 164
  }
165 165

  
166
  my $show_first_20 = ($self->{report}->profile->get('full_preview', 2) == 0);
167
  my $show_info_err = ($self->{report}->profile->get('full_preview', 2) == 1);
166
  my $show_info_err = ($self->{report}->profile->get('full_preview', 0) == 1);
167
  my $show_first_20 = ($self->{report}->profile->get('full_preview', 0) == 2);
168 168

  
169 169
  my $num_rows = 0;
170 170
  if ($show_first_20) {
templates/webpages/csv_import/form.html
275 275
   <tr>
276 276
    <th align="right">[%- LxERP.t8('Preview Mode') %]:</th>
277 277
    <td colspan="10">
278
      [% L.radio_button_tag('settings.full_preview', value=2, checked=SELF.profile.get('full_preview')==2, label=LxERP.t8('Full Preview')) %]
278
      [% L.radio_button_tag('settings.full_preview', value=0, checked=!SELF.profile.get('full_preview'),   label=LxERP.t8('Full Preview')) %]
279 279
      [% L.radio_button_tag('settings.full_preview', value=1, checked=SELF.profile.get('full_preview')==1, label=LxERP.t8('Only Warnings and Errors')) %]
280
      [% L.radio_button_tag('settings.full_preview', value=0, checked=!SELF.profile.get('full_preview'),   label=LxERP.t8('First 20 Lines')) %]
280
      [% L.radio_button_tag('settings.full_preview', value=2, checked=SELF.profile.get('full_preview')==2, label=LxERP.t8('First 20 Lines')) %]
281 281
    </td>
282 282
   </tr>
283 283

  

Auch abrufbar als: Unified diff