Revision f6fc5115
Von Hans P. Schlaepfer vor mehr als 4 Jahren hinzugefügt
templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html | ||
---|---|---|
<tr class="listrow">
|
||
[% L.hidden_tag("requirement_spec_items[+].id", item.id, id = id_prefix _ '_item_id') %]
|
||
[% USE HTML %]
|
||
[% USE LxERP %]
|
||
[% USE P %]
|
||
[% USE L %]
|
||
|
||
<td style="padding-left: [%- level * 50 -%]px">
|
||
[%- item.fb_number _ ": " _ item.description_as_restricted_html -%]
|
||
<tr>
|
||
<td style="padding-left:[% level * 50 %]px;">
|
||
[% L.hidden_tag("requirement_spec_items[+].id", item.id, id = id_prefix _ '_item_id') %]
|
||
[% item.fb_number _ ": " _ item.description_as_restricted_html %]
|
||
</td>
|
||
<td>
|
||
[%- 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%") %]<br>
|
||
[% 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%") %]<br>
|
||
</td>
|
||
<td>
|
||
[%- 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%") %]<br>
|
||
[% 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%") %]<br>
|
||
</td>
|
||
[%- IF !item.children.size -%]
|
||
<td align="right" nowrap>[%- P.man_days_tag('requirement_spec_items[].time_estimation', item, id=id_prefix _ '_time_estimation') %]</td>
|
||
[%- ELSE -%]
|
||
<td> </td>
|
||
[%- END -%]
|
||
[% IF !item.children.size %]
|
||
<td class="date">[% P.man_days_tag('requirement_spec_items[].time_estimation', item, id=id_prefix _ '_time_estimation') %]</td>
|
||
[% ELSE %]
|
||
<td> </td>
|
||
[% END %]
|
||
</tr>
|
||
|
||
[%- IF item.children.size -%]
|
||
[%- FOREACH child = item.children_sorted -%]
|
||
[%- INCLUDE 'requirement_spec/_edit_time_and_cost_estimate_item.html'
|
||
[% IF item.children.size %]
|
||
[% FOREACH child = item.children_sorted %]
|
||
[% INCLUDE 'requirement_spec/_edit_time_and_cost_estimate_item.html'
|
||
id_prefix = id_prefix
|
||
item = child
|
||
level = level + 1 -%]
|
||
[%- END -%]
|
||
[%- END -%]
|
||
level = level + 1 %]
|
||
[% END %]
|
||
[% END %]
|
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html