X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec%2F_edit_time_and_cost_estimate.html;h=ce09a9a227bf1f83c7e7b45159ec5dc28ec1cd1d;hb=2bc2e21bb970197e0b4151d19648e7bb5ce21b18;hp=1bd80929af14e0b7a90b90901dac27f4189cd7eb;hpb=bca1207918502291b707557e530833aab45b42f3;p=kivitendo-erp.git 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 1bd80929a..ce09a9a22 100644 --- a/templates/webpages/requirement_spec/_edit_time_and_cost_estimate.html +++ b/templates/webpages/requirement_spec/_edit_time_and_cost_estimate.html @@ -1,7 +1,7 @@ [%- USE LxERP -%][%- USE L -%][%- USE HTML -%][%- USE P -%] [%- DEFAULT id_prefix = 'time_and_cost_estimate_form' %] -
+
[%- IF !SELF.requirement_spec.sections.size %]

[%- LxERP.t8("Neither sections nor function blocks have been created yet.") %]

@@ -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
[%- LxERP.t8("Function block") %] [%- LxERP.t8("Complexity") %]