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=0ce8f0ef9366a9dd5ac8c7aa9d5cbf130f73ad9d;hp=f0e6831a9a7a8662822d0893f5fad8837473bb58;hpb=c19b1e03fb03f195d86a5b78f8ce2338f745f599;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 f0e6831a9..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 @@ -39,6 +39,8 @@ [%- END -%]
[%- LxERP.t8("Function block") %] [%- LxERP.t8("Complexity") %]
+ + [% L.button_tag("kivi.requirement_spec.standard_time_cost_estimate_ajax_call('save')", LxERP.t8("Save")) %] [%- END %]