Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 225adfe2

Von Moritz Bunkus vor fast 8 Jahren hinzugefügt

  • ID 225adfe2067169abb09f8e1e7887c70ba072b687
  • Vorgänger 2cd62801
  • Nachfolger 1bb81b07

Menüvereinheitlichung: »Stammdaten« → »Projekte« umgestellt

Unterschiede anzeigen:

SL/Controller/Project.pm
59 59
sub action_list {
60 60
  my ($self) = @_;
61 61

  
62
  $self->setup_search_action_bar;
63

  
64 62
  $self->make_filter_summary;
65 63

  
66 64
  $self->prepare_report;
67 65

  
68
  $self->report_generator_list_objects(report => $self->{report}, objects => $self->models->get);
66
  $self->report_generator_list_objects(
67
    report  => $self->{report},
68
    objects => $self->models->get,
69
    options => {
70
      action_bar_setup_hook => sub { $self->setup_search_action_bar(report_generator_actions => [ @_ ]) },
71
    },
72
  );
69 73
}
70 74

  
71 75
sub action_new {
......
426 430
        submit    => [ '#search_form', { action => 'Project/list' } ],
427 431
        accesskey => 'enter',
428 432
      ],
433

  
434
      @{ $params{report_generator_actions} || [] },
435

  
436
      'separator',
437

  
429 438
      link => [
430 439
        t8('Add'),
431 440
        link => $self->url_for(action => 'new'),

Auch abrufbar als: Unified diff