Revision 225adfe2
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
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'), |
menus/user/00-erp.yaml | ||
---|---|---|
74 | 74 |
action: search |
75 | 75 |
searchitems: article |
76 | 76 |
- parent: master_data |
77 |
id: master_data_add_project
|
|
78 |
name: Add Project
|
|
79 |
icon: project_add
|
|
77 |
id: master_data_projects
|
|
78 |
name: Projects
|
|
79 |
icon: project_report
|
|
80 | 80 |
order: 600 |
81 | 81 |
access: project_edit |
82 | 82 |
params: |
83 |
action: Project/new |
|
83 |
action: Project/list |
|
84 |
filter.active: active |
|
85 |
filter.valid: valid |
|
84 | 86 |
- parent: master_data |
85 | 87 |
id: master_data_add_requirement_spec_template |
86 | 88 |
name: Add Requirement Spec Template |
... | ... | |
110 | 112 |
name: Reports |
111 | 113 |
icon: master_data_report |
112 | 114 |
order: 1000 |
113 |
- parent: master_data_reports |
|
114 |
id: master_data_reports_projects |
|
115 |
name: Projects |
|
116 |
icon: project_report |
|
117 |
order: 700 |
|
118 |
access: project_edit |
|
119 |
params: |
|
120 |
action: Project/list |
|
121 |
filter.active: active |
|
122 |
filter.valid: valid |
|
123 | 115 |
- parent: master_data_reports |
124 | 116 |
id: master_data_reports_requirement_spec_templates |
125 | 117 |
name: Requirement Spec Templates |
Auch abrufbar als: Unified diff
Menüvereinheitlichung: »Stammdaten« → »Projekte« umgestellt