Revision 1ae68610
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/Controller/RequirementSpec.pm | ||
---|---|---|
181 | 181 |
my ($self) = @_; |
182 | 182 |
|
183 | 183 |
my $title = $self->requirement_spec->is_template ? t8('Show requirement spec template') : t8('Show requirement spec'); |
184 |
my $item = $::form->{requirement_spec_item_id} ? SL::DB::RequirementSpecItem->new(id => $::form->{requirement_spec_item_id})->load : @{ $self->requirement_spec->sections }[0]; |
|
184 |
my $item = $::form->{requirement_spec_item_id} ? SL::DB::RequirementSpecItem->new(id => $::form->{requirement_spec_item_id})->load : @{ $self->requirement_spec->sections_sorted }[0];
|
|
185 | 185 |
$self->requirement_spec_item($item); |
186 | 186 |
|
187 | 187 |
$self->render('requirement_spec/show', title => $title); |
Auch abrufbar als: Unified diff
Pflichtenhefte: Abschnitte in richtiger Reihenfolge ausgeben