Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5d0056d6

Von Hans Peter Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID 5d0056d6fd59f2a33bd1171ed9d87cc46328e984
  • Vorgänger 78e1d7a0
  • Nachfolger 13011246

Neues kivitendo Design Aenderungen in templates/webpages/requirement_spec/..

Unterschiede anzeigen:

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

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

  
21
[%- IF item.children.size -%]
22
 [%- FOREACH child = item.children_sorted -%]
23
  [%- 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'
24 27
              id_prefix = id_prefix
25 28
              item      = child
26
              level     = level + 1 -%]
27
 [%- END -%]
28
[%- END -%]
29
              level     = level + 1 %]
30
 [% END %]
31
[% END %]

Auch abrufbar als: Unified diff