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/_show_time_and_cost_estimate_item.html
1
[%- USE HTML -%][%- USE LxERP -%][%- USE P -%]
2
<tr class="listrow">
3
 <td style="padding-left: [%- level * 50 -%]px">
4
  [%- item.fb_number _ ": " _ item.description_as_restricted_html -%]
5
 </td>
6
 <td>[%- HTML.escape(item.complexity.description) -%]</td>
7
 <td>[%- HTML.escape(item.risk.description) -%]</td>
8
 [%- IF !item.children.size -%]
9
  <td align="right" nowrap>[%- P.format_man_days(item.time_estimation, skip_zero=1) -%]</td>
10
  [%- UNLESS SELF.requirement_spec.is_template %]
11
   <td align="right" nowrap>[%- LxERP.format_amount(item.time_estimation * SELF.requirement_spec.hourly_rate * section.sellprice_factor, 2) -%] EUR</td>
12
  [%- END %]
13
 [%- ELSE -%]
14
  <td>&nbsp;</td>
15
  <td>&nbsp;</td>
16
 [%- END -%]
1
[% USE HTML %]
2
[% USE LxERP %]
3
[% USE P %]
4

  
5
<tr>
6
  <td style="padding-left:[% level * 50 %]px;">
7
    [% item.fb_number _ ": " _ item.description_as_restricted_html %]
8
  </td>
9
  <td>[% HTML.escape(item.complexity.description) %]</td>
10
  <td>[% HTML.escape(item.risk.description) %]</td>
11
  [% IF !item.children.size %]
12
    <td class="right">[% P.format_man_days(item.time_estimation, skip_zero=1) %]</td>
13
    [% UNLESS SELF.requirement_spec.is_template %]
14
      <td class="right">[% LxERP.format_amount(item.time_estimation * SELF.requirement_spec.hourly_rate * section.sellprice_factor, 2) %] EUR</td>
15
    [% END %]
16
  [% ELSE %]
17
    <td>&nbsp;</td>
18
    <td>&nbsp;</td>
19
  [% END %]
17 20
</tr>
18 21

  
19
[%- IF item.children.size -%]
20
 [%- FOREACH child = item.children_sorted -%]
21
  [%- INCLUDE 'requirement_spec/_show_time_and_cost_estimate_item.html'
22
              section = section
23
              item    = child
24
              level   = level + 1 -%]
25
 [%- END -%]
22
[% IF item.children.size %]
23
  [% FOREACH child = item.children_sorted %]
24
    [% INCLUDE 'requirement_spec/_show_time_and_cost_estimate_item.html'
25
      section = section
26
      item    = child
27
      level   = level + 1 %]
28
  [% END %]
26 29

  
27
 <tr class="listrow subtotal">
28
  <td style="padding-left: [%- (level + 1) * 50 -%]px" colspan="3">[%- LxERP.t8("Sum for #1", item.fb_number) -%]:</td>
29
  <td align="right" nowrap>[%- P.format_man_days(item.time_estimation, skip_zero=1) -%]</td>
30
  [%- UNLESS SELF.requirement_spec.is_template %]
31
   <td align="right" nowrap>[%- LxERP.format_amount(item.time_estimation * SELF.requirement_spec.hourly_rate * section.sellprice_factor, 2) -%] EUR</td>
32
  [%- END %]
33
 </tr>
34
[%- END -%]
30
  <tr class="subtotal">
31
    <td style="padding-left:[% (level + 1) * 50 %]px;" colspan="3">[% LxERP.t8("Sum for #1", item.fb_number) %]:</td>
32
    <td class="right">[% P.format_man_days(item.time_estimation, skip_zero=1) %]</td>
33
    [% UNLESS SELF.requirement_spec.is_template %]
34
       <td class="right">[% LxERP.format_amount(item.time_estimation * SELF.requirement_spec.hourly_rate * section.sellprice_factor, 2) %] EUR</td>
35
    [% END %]
36
  </tr>
37
[% END %]

Auch abrufbar als: Unified diff