X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Frequirement_spec%2Fselect_template_to_paste.html;h=3ddeb2d1c492947ecff972d19262cd983a413928;hb=e3dfdb7a78f6e0bc8ac1075fedc36f8247c6fd92;hp=02d5a36492f98b73d94eeaa11e86c3cc6ae469d0;hpb=f82ffe92ce7168885990aace35c91706da7a7f2a;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 02d5a3649..3ddeb2d1c 100644
--- a/templates/webpages/requirement_spec/select_template_to_paste.html
+++ b/templates/webpages/requirement_spec/select_template_to_paste.html
@@ -22,6 +22,7 @@
[%- LxERP.t8("Detail view") %] |
[%- LxERP.t8("Paste template") %] |
[%- LxERP.t8("Title") %] |
+ [%- LxERP.t8("Type") %] |
[%- LxERP.t8("Last modification") %] |
@@ -35,6 +36,7 @@
[%- 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') %] |
@@ -42,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 %]
[%- LxERP.t8("What this template contains") %]:
@@ -58,6 +61,16 @@
[%- 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 %]
+ - [%- HTML.escape(part.part.description) %]: [%- HTML.escape(part.qty_as_number) %] [% HTML.escape(part.unit.name) %]
+ [%- END %]
+
+
+ [%- END %]
|