X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec%2Fshow.html;h=3cd23ef75a8a0cd72bbee8d28a17397d9a587c22;hb=50e99be3f71714e54a62c431b644aeeab3773517;hp=71c5b345fd22bd0dd1cc889c80a8dd3baa83069b;hpb=1f592a0f4f88893b5c2cb29b2d10e2d07b444ac0;p=kivitendo-erp.git diff --git a/templates/webpages/requirement_spec/show.html b/templates/webpages/requirement_spec/show.html index 71c5b345f..3cd23ef75 100644 --- a/templates/webpages/requirement_spec/show.html +++ b/templates/webpages/requirement_spec/show.html @@ -1,189 +1,108 @@ -[%- USE JSON -%][%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE P -%] +[%- USE JSON -%][%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE P -%][%- USE JavaScript -%] +[% SET sections = SELF.requirement_spec.sections_sorted || [] %] [%- INCLUDE 'common/flash.html' %] -

[%- HTML.escape(SELF.requirement_spec.displayable_name('format', 'with_customer')) %] - [% LxERP.t8("for") %] - [% HTML.escape(SELF.requirement_spec.customer.displayable_name) -%] -

- -[%- L.hidden_tag('requirement_spec_id', SELF.requirement_spec.id) -%] - -
- [%- INCLUDE 'requirement_spec/_version.html' requirement_spec=SELF.requirement_spec -%] -
- -
-
-
-
- -
- [% L.hidden_tag('current_content_type', SELF.requirement_spec_item.id ? 'section' : '') %] - [% L.hidden_tag('current_content_id', SELF.requirement_spec_item.id) %] - -
- [%- IF SELF.requirement_spec_item -%] - [%- INCLUDE 'requirement_spec_item/_section.html' requirement_spec_item=SELF.requirement_spec_item -%] - [%- ELSE -%] - [%- INCLUDE 'requirement_spec_item/_no_section.html' -%] - [%- END -%] +[%- INCLUDE 'requirement_spec/_header.html' %] + +[%- L.hidden_tag('requirement_spec_id', SELF.requirement_spec.id, 'data-is-template'=(SELF.requirement_spec.is_template ? 1 : 0)) -%] + +
+ + +
+ [%- UNLESS SELF.requirement_spec.is_template %] +
+ [%- INCLUDE 'requirement_spec/_version.html' requirement_spec=SELF.requirement_spec -%] +
+ [%- END %] + +
+
+
+
+ +
+ [% L.hidden_tag('current_content_type', SELF.requirement_spec_item.id ? 'section' : '') %] + [% L.hidden_tag('current_content_id', SELF.requirement_spec_item.id) %] + +
+ [%- IF SELF.requirement_spec_item -%] + [%- INCLUDE 'requirement_spec_item/_section.html' requirement_spec_item=SELF.requirement_spec_item -%] + [%- ELSE -%] + [%- INCLUDE 'requirement_spec_item/_no_section.html' -%] + [%- END -%] +
+