Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 88f7e67f

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID 88f7e67f38ce826e4cbc797ac62405fcf982def4
  • Vorgänger c00196c9
  • Nachfolger cf9c0fa2

Neues Design 2019 Standard-Code templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html

Unterschiede anzeigen:

templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html
1
<tr class="listrow">
2
 [% L.hidden_tag("requirement_spec_items[+].id", item.id, id = id_prefix _ '_item_id') %]
3 1
[% USE HTML %]
4 2
[% USE LxERP %]
5 3
[% USE P %]
6 4
[% USE L %]
7 5

  
8
 <td style="padding-left: [%- level * 50 -%]px">
9
  [%- item.fb_number _ ": " _ item.description_as_restricted_html -%]
6
<tr>
7
 <td style="padding-left:[% level * 50 %]px;">
8
  [% L.hidden_tag("requirement_spec_items[+].id", item.id, id = id_prefix _ '_item_id') %]
9
  [% item.fb_number _ ": " _ item.description_as_restricted_html %]
10 10
 </td>
11 11
 <td>
12
  [%- 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>
12
  [% 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>
13 13
 </td>
14 14
 <td>
15
  [%- 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>
15
  [% 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>
16 16
 </td>
17
 [%- IF !item.children.size -%]
18
  <td align="right" nowrap>[%- P.man_days_tag('requirement_spec_items[].time_estimation', item, id=id_prefix _ '_time_estimation') %]</td>
19
 [%- ELSE -%]
20
  <td>&nbsp;</td>
21
 [%- END -%]
17
 [% IF !item.children.size %]
18
    <td class="date">[% P.man_days_tag('requirement_spec_items[].time_estimation', item, id=id_prefix _ '_time_estimation') %]</td>
19
 [% ELSE %]
20
    <td>&nbsp;</td>
21
 [% END %]
22 22
</tr>
23 23

  
24
[%- IF item.children.size -%]
25
 [%- FOREACH child = item.children_sorted -%]
26
  [%- INCLUDE 'requirement_spec/_edit_time_and_cost_estimate_item.html'
24
[% IF item.children.size %]
25
 [% FOREACH child = item.children_sorted %]
26
  [% INCLUDE 'requirement_spec/_edit_time_and_cost_estimate_item.html'
27 27
              id_prefix = id_prefix
28 28
              item      = child
29
              level     = level + 1 -%]
30
 [%- END -%]
31
[%- END -%]
29
              level     = level + 1 %]
30
 [% END %]
31
[% END %]

Auch abrufbar als: Unified diff