X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c1569bc195865fa5c25c6945bbad78c872fa2046..e2f753a4cb6c299fc6440ae94e20891a5a0c77cb:/templates/webpages/requirement_spec/show.html diff --git a/templates/webpages/requirement_spec/show.html b/templates/webpages/requirement_spec/show.html index f6c15c2d2..759add13f 100644 --- a/templates/webpages/requirement_spec/show.html +++ b/templates/webpages/requirement_spec/show.html @@ -12,28 +12,21 @@
-
-
-
- [% L.button_tag("new_section_form()", LxERP.t8("New section"), id="new-section-button") %] -
- -
- +
-
+ [% 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/_single_section.html' requirement_spec_item=SELF.requirement_spec_item -%] + [%- ELSE -%] + no section + [%#- render :partial => 'requirement_spec_items/no_section' -%] + [%- END -%]
@@ -41,20 +34,20 @@