Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision aa9fca7b

Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt

  • ID aa9fca7b9ca6e680b201512958f31da67940012b
  • Vorgänger be51ef07

FIX: Verwende Filterblock von Design 4.0 in Reklamationsbericht

Unterschiede anzeigen:

SL/Presenter/ReclamationFilter.pm
370 370
    push @filter_elements, $filter_element;
371 371
  }
372 372

  
373
  my $filter_form_div = _create_filter_form_div(\@filter_elements, %params);
373
  my $filter_form_div = _create_filter_form(\@filter_elements, %params);
374 374

  
375 375
  is_escaped($filter_form_div);
376 376
}
......
428 428
  return $element_th . $element_input_td . $element_checkbox_td;
429 429
}
430 430

  
431
sub _create_filter_form_div {
431
sub _create_filter_form {
432 432
  my ($ref_elements, %params) = @_;
433 433

  
434
  my $toggle_button_show =  html_tag('a', t8('Show Filter'), href => '#', onclick => '$(".filter_toggle").toggle()' );
435
  my $toggle_button_show_div = html_tag('div', $toggle_button_show, class => 'filter_toggle', style => 'display:none');
436

  
437

  
438
  my $toggle_button_hide =  html_tag('a', t8('Hide Filter'), href => '#', onclick => '$(".filter_toggle").toggle()' );
439

  
440 434
  my $filter_table = _create_input_div($ref_elements, %params);
441 435

  
442 436
  my $filter_form = html_tag('form', $filter_table, method => 'post', action => 'controller.pl', id => 'search_form');
443
  my $filter_form_div = $toggle_button_show_div . html_tag('div', $toggle_button_hide . $filter_form . $toggle_button_hide, class => 'filter_toggle');
444 437

  
445
  return $filter_form_div;
438
  return $filter_form;
446 439
}
447 440

  
448 441
sub _create_input_div {
templates/design40_webpages/reclamation/_report_top.html
1 1
[%- USE L %]
2
[% BLOCK filter_toggle_panel %]
2 3
[%- FILTER_HTML %]
4
[% END %]
5

  
6
<div class="wrapper">
7
  [% SET display_status = 'open' %]
8
  [% INCLUDE 'common/toggle_panel.html' %]
9
</div><!-- /.wrapper -->
3 10
 <hr>

Auch abrufbar als: Unified diff