From e1261979d8b9de248d5fcc7042a6b8d0b9136024 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 7 Aug 2013 12:13:26 +0200 Subject: [PATCH] =?utf8?q?Pflichtenheftkostensch=C3=A4tzung:=20Abschnitte/?= =?utf8?q?Funktionsbl=C3=B6cke=20in=20richtiger=20Reihenfolge=20anzeigen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../requirement_spec/_edit_time_and_cost_estimate.html | 4 ++-- .../requirement_spec/_edit_time_and_cost_estimate_item.html | 2 +- .../requirement_spec/_show_time_and_cost_estimate.html | 4 ++-- .../requirement_spec/_show_time_and_cost_estimate_item.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/webpages/requirement_spec/_edit_time_and_cost_estimate.html b/templates/webpages/requirement_spec/_edit_time_and_cost_estimate.html index a18efc09b..ce09a9a22 100644 --- a/templates/webpages/requirement_spec/_edit_time_and_cost_estimate.html +++ b/templates/webpages/requirement_spec/_edit_time_and_cost_estimate.html @@ -15,7 +15,7 @@ [%# time-cost-estimate-context-menu %] - [%- FOREACH section = SELF.requirement_spec.sections %] + [%- FOREACH section = SELF.requirement_spec.sections_sorted %] @@ -29,7 +29,7 @@ [%- IF section.children.size %] [%- SET at_least_one_function_block = 1 %] - [%- FOREACH child = section.children %] + [%- FOREACH child = section.children_sorted %] [%- INCLUDE 'requirement_spec/_edit_time_and_cost_estimate_item.html' id_prefix = id_prefix item = child diff --git a/templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html b/templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html index a9f6fe554..e3975a999 100644 --- a/templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html +++ b/templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html @@ -19,7 +19,7 @@ [%- IF item.children.size -%] - [%- FOREACH child = item.children -%] + [%- FOREACH child = item.children_sorted -%] [%- INCLUDE 'requirement_spec/_edit_time_and_cost_estimate_item.html' id_prefix = id_prefix item = child diff --git a/templates/webpages/requirement_spec/_show_time_and_cost_estimate.html b/templates/webpages/requirement_spec/_show_time_and_cost_estimate.html index c4a2baecb..76b7afe61 100644 --- a/templates/webpages/requirement_spec/_show_time_and_cost_estimate.html +++ b/templates/webpages/requirement_spec/_show_time_and_cost_estimate.html @@ -11,7 +11,7 @@
[%- LxERP.t8("Function block") %] [%- LxERP.t8("Complexity") %]
- [%- FOREACH section = SELF.requirement_spec.sections %] + [%- FOREACH section = SELF.requirement_spec.sections_sorted %] @@ -28,7 +28,7 @@ [%- IF section.children.size %] [%- SET at_least_one_function_block = 1 %] - [%- FOREACH child = section.children %] + [%- FOREACH child = section.children_sorted %] [%- INCLUDE 'requirement_spec/_show_time_and_cost_estimate_item.html' item = child level = 1 %] diff --git a/templates/webpages/requirement_spec/_show_time_and_cost_estimate_item.html b/templates/webpages/requirement_spec/_show_time_and_cost_estimate_item.html index f12cf5743..897d50fa5 100644 --- a/templates/webpages/requirement_spec/_show_time_and_cost_estimate_item.html +++ b/templates/webpages/requirement_spec/_show_time_and_cost_estimate_item.html @@ -17,7 +17,7 @@ [%- IF item.children.size -%] - [%- FOREACH child = item.children -%] + [%- FOREACH child = item.children_sorted -%] [%- INCLUDE 'requirement_spec/_show_time_and_cost_estimate_item.html' item = child level = level + 1 -%] -- 2.20.1
[%- LxERP.t8("Function block") %] [%- LxERP.t8("Complexity") %]