X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec%2Fselect_template_to_paste.html;h=3ddeb2d1c492947ecff972d19262cd983a413928;hb=8be0f8a7ff52242c1b38345541796f66891735fa;hp=ff2eea7a38df28f5ad958b43fc6bf6a406c6b31b;hpb=4cab0b745055e422ff7f55c0560fdc934409a791;p=kivitendo-erp.git diff --git a/templates/webpages/requirement_spec/select_template_to_paste.html b/templates/webpages/requirement_spec/select_template_to_paste.html index ff2eea7a3..3ddeb2d1c 100644 --- a/templates/webpages/requirement_spec/select_template_to_paste.html +++ b/templates/webpages/requirement_spec/select_template_to_paste.html @@ -12,13 +12,9 @@ [%- END %] [%- END %] -

[%- LxERP.t8("Select template to paste") %]

- [%- IF !TEMPLATES.size %]

[%- LxERP.t8("No requirement spec templates have been created yet.") %]

-

[%- LxERP.t8("Abort") %]

- [%- ELSE %] @@ -26,6 +22,7 @@ + @@ -37,8 +34,9 @@ [-] - + + @@ -46,6 +44,7 @@ [% SET front = template.text_blocks_sorted(output_position=0) %] [% SET sections = template.sections_sorted %] [% SET back = template.text_blocks_sorted(output_position=1) %] + [% SET parts = template.parts_sorted %] [%- END %]
[%- LxERP.t8("Detail view") %] [%- LxERP.t8("Paste template") %] [%- LxERP.t8("Title") %][%- LxERP.t8("Type") %] [%- LxERP.t8("Last modification") %]
[%- LxERP.t8("Paste template") %][%- LxERP.t8("Paste template") %] [%- HTML.escape(template.title) %][%- HTML.escape(template.type.description) %] [% template.mtime ? template.mtime.to_kivitendo(precision='minute') : template.itime.to_kivitendo(precision='minute') %]
[%- LxERP.t8("What this template contains") %]:
    @@ -62,11 +61,22 @@ [%- END %] [% PROCESS text_blocks blocks=back title=LxERP.t8("#1 text block(s) back", back.size) %] + + [%- IF parts.size %] +
  • [%- LxERP.t8("#1 additional part(s)", parts.size) %]: +
      + [%- FOREACH part = parts %] +
    1. [%- HTML.escape(part.part.description) %]: [%- HTML.escape(part.qty_as_number) %] [% HTML.escape(part.unit.name) %]
    2. + [%- END %] +
    +
  • + [%- END %]
-

[%- LxERP.t8("Abort") %]

[%- END %] + +

[%- LxERP.t8("Abort") %]