X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Frequirement_spec%2F_edit_time_and_cost_estimate_item.html;h=111dc4972919131e7156ba65f205f6c2685fccad;hb=11e509315cee0449974caa6d681fa26e730bbeca;hp=a9f6fe55420a7366c49e054b8353e1b08359bf62;hpb=c19b1e03fb03f195d86a5b78f8ce2338f745f599;p=kivitendo-erp.git
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..111dc4972 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
@@ -3,13 +3,13 @@
[% L.hidden_tag("requirement_spec_items[+].id", item.id, id = id_prefix _ '_item_id') %]
- [%- P.simple_format(item.fb_number _ ": " _ item.description) -%]
+ [%- item.fb_number _ ": " _ item.description_as_restricted_html -%]
|
- [%- L.select_tag('requirement_spec_items[].complexity_id', SELF.complexities, id=id_prefix _ '_complexity_id', title_key='description', default=item.complexity_id, style="width: 100%") %]
+ [%- L.select_tag('requirement_spec_items[].complexity_id', SELF.complexities, id=id_prefix _ '_complexity_id_' _ item.id, title_key='description', default=item.complexity_id, style="width: 100%") %]
|
- [%- L.select_tag('requirement_spec_items[].risk_id', SELF.risks, id=id_prefix _ '_risk_id', title_key='description', default=item.risk_id, style="width: 100%") %]
+ [%- L.select_tag('requirement_spec_items[].risk_id', SELF.risks, id=id_prefix _ '_risk_id_' _ item.id, title_key='description', default=item.risk_id, style="width: 100%") %]
|
[%- IF !item.children.size -%]
[%- P.man_days_tag('requirement_spec_items[].time_estimation', item, id=id_prefix _ '_time_estimation') %] |
@@ -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