X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c1569bc195865fa5c25c6945bbad78c872fa2046..c19b1e03fb03f195d86a5b78f8ce2338f745f599:/templates/webpages/requirement_spec/show.html diff --git a/templates/webpages/requirement_spec/show.html b/templates/webpages/requirement_spec/show.html index f6c15c2d2..4cae971e5 100644 --- a/templates/webpages/requirement_spec/show.html +++ b/templates/webpages/requirement_spec/show.html @@ -1,38 +1,39 @@ [%- USE JSON -%][%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE P -%] -

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

+[%- INCLUDE 'common/flash.html' %] + +[%- INCLUDE 'requirement_spec/_header.html' %] [%- L.hidden_tag('requirement_spec_id', SELF.requirement_spec.id) -%] -
- [%- INCLUDE 'requirement_spec/_version.html' requirement_spec=SELF.requirement_spec -%] -
+
+ -
-
-
-
- [% L.button_tag("new_section_form()", LxERP.t8("New section"), id="new-section-button") %] -
- +
+
+ [%- 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 && SELF.requirement_spec_item.id -%] - [%- INCLUDE 'requirement_spec_item/_single_section.html' requirement_spec_item=SELF.requirement_spec_item -%] - [%- ELSE -%] - no section - [%#- render :partial => 'requirement_spec_items/no_section' -%] - [%- END -%] +
+ [%- 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 -%] +
@@ -40,73 +41,68 @@