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.html
1
[%- USE LxERP -%][%- USE L -%][%- USE HTML -%][%- USE P -%]
2
[%- DEFAULT id_prefix = 'time_and_cost_estimate_form' %]
1
[% USE LxERP %]
2
[% USE L %]
3
[% USE HTML %]
4
[% USE P %]
5
[% DEFAULT id_prefix = 'time_and_cost_estimate_form' %]
3 6

  
4 7
<div id="time_cost_estimate_form_container" class="edit-time-cost-estimate-context-menu">
5
 [%- IF !SELF.requirement_spec.sections.size %]
6
  <p>[%- LxERP.t8("Neither sections nor function blocks have been created yet.") %]</p>
8
<div class="wrapper">
9
 [% IF !SELF.requirement_spec.sections.size %]
10
  <p>[% LxERP.t8("Neither sections nor function blocks have been created yet.") %]</p>
7 11

  
8
 [%- ELSE %]
12
 [% ELSE %]
9 13

  
10
  [%- SET at_least_one_function_block = 0 %]
14
  [% SET at_least_one_function_block = 0 %]
11 15

  
12 16
  <form method="post" id="edit_time_cost_estimate_form">
13
   [%- L.hidden_tag('id', SELF.requirement_spec.id, id=id_prefix _ '_id') -%]
17
   [% L.hidden_tag('id', SELF.requirement_spec.id, id=id_prefix _ '_id') %]
14 18

  
15 19
   [%# time-cost-estimate-context-menu %]
16
   <table class="time-cost-estimate">
17
    <tbody>
18
     [%- FOREACH section = SELF.requirement_spec.sections_sorted %]
19
      <tr class="listheading">
20
       <th>[%- LxERP.t8("Function block") %]</th>
21
       <th>[%- LxERP.t8("Complexity") %]</th>
22
       <th>[%- LxERP.t8("Risk") %]</th>
23
       <th align="right">[%- LxERP.t8("Time estimate") %]</th>
20
   <table class="tbl-list time-cost-estimate test">
21
     [% FOREACH section = SELF.requirement_spec.sections_sorted %]
22
     <thead>
23
      <tr>
24
       <th>[% LxERP.t8("Function block") %]</th>
25
       <th>[% LxERP.t8("Complexity") %]</th>
26
       <th>[% LxERP.t8("Risk") %]</th>
27
       <th class="right">[% LxERP.t8("Time estimate") %]</th>
24 28
      </tr>
25

  
29
      </thead>
30
    <tbody>
26 31
      <tr class="listrow section">
27
       <td colspan="5">[%- HTML.escape(section.fb_number) %]: [%- HTML.escape(section.title) %]</td>
32
       <th class="caption" colspan="4">[% HTML.escape(section.fb_number) %]: [% HTML.escape(section.title) %]</td>
28 33
      </tr>
29 34

  
30
      [%- IF section.children.size %]
31
       [%- SET at_least_one_function_block = 1 %]
32
       [%- FOREACH child = section.children_sorted %]
33
        [%- INCLUDE 'requirement_spec/_edit_time_and_cost_estimate_item.html'
35
      [% IF section.children.size %]
36
       [% SET at_least_one_function_block = 1 %]
37
       [% FOREACH child = section.children_sorted %]
38
        [% INCLUDE 'requirement_spec/_edit_time_and_cost_estimate_item.html'
34 39
                    id_prefix = id_prefix
35 40
                    item      = child
36 41
                    level     = 1 %]
37
       [%- END %]
38
      [%- END -%]
39
     [%- END -%]
42
       [% END %]
43
      [% END %]
44
     [% END %]
40 45
    </tbody>
41 46
   </table>
42 47

  
43 48
   [% L.button_tag("kivi.requirement_spec.standard_time_cost_estimate_ajax_call('save')", LxERP.t8("Save")) %]
44 49
  </form>
45
 [%- END %]
50
 [% END %]
51
</div>
46 52
</div>

Auch abrufbar als: Unified diff