Revision 4ee26bcc
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/Controller/RequirementSpec.pm | ||
---|---|---|
204 | 204 |
sub action_create_pdf { |
205 | 205 |
my ($self, %params) = @_; |
206 | 206 |
|
207 |
my %result = SL::Template::LaTeX->parse_and_create_pdf('requirement_spec.tex', SELF => $self, rspec => $self->requirement_spec); |
|
207 |
my $base_name = $self->requirement_spec->type->template_file_name || 'requirement_spec'; |
|
208 |
my %result = SL::Template::LaTeX->parse_and_create_pdf("${base_name}.tex", SELF => $self, rspec => $self->requirement_spec); |
|
208 | 209 |
|
209 | 210 |
$::form->error(t8('Conversion to PDF failed: #1', $result{error})) if $result{error}; |
210 | 211 |
|
Auch abrufbar als: Unified diff
Pflichtenhefte: Druckvorlagendateinamen bei Pflicthenhefttypen festlegen können