Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cb159a74

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

  • ID cb159a744a72b25daa4977b5003da9c926e57b3e
  • Vorgänger 9445c9ea
  • Nachfolger b3bbb8af

Neues Design 2019 Standard-Code templates/webpages/project/_basic_data.html

Unterschiede anzeigen:

templates/webpages/project/_basic_data.html
1
<table>
2
 <tr>
3
  <th align="right">[% 'Number' | $T8 %]</th>
4
  <td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, size=60, style='width: 300px', class="initial_focus") %]</td>
5
 </tr>
6 1
[% USE T8 %]
7 2
[% USE L %]
8 3
[% USE P %]
9 4
[% USE HTML %]
10 5
[% USE LxERP %]
11 6

  
12
 <tr>
13
  <th align="right">[% 'Description' | $T8 %]</th>
14
  <td>
15
    [%- L.areainput_tag("project.description", SELF.project.description, size=60, style="width: 300px", wrap="soft") %]
16
  </td>
17
 </tr>
7
<div class="wrapper">
18 8

  
19
 <tr>
20
  <th align="right">[% 'Project Type' | $T8 %]</th>
21
  <td>[% L.select_tag('project.project_type_id', SELF.project_types, default=SELF.project.project_type_id, title_key='description', style='width: 300px') %]</td>
22
 </tr>
23

  
24
 <tr>
25
  <th align="right">[% 'Project Status' | $T8 %]</th>
26
  <td>[% L.select_tag('project.project_status_id', SELF.project_statuses, default=SELF.project.project_status_id, title_key='description', style='width: 300px') %]</td>
27
 </tr>
28

  
29
 <tr>
30
  <th align="right">[% 'Customer' | $T8 %]</th>
31
<td>[% P.customer_vendor.picker('project.customer_id', SELF.project.customer_id, type='customer', fat_set_item=1, style='width: 300px', default=SELF.project.customer_id)%] [%- IF SELF.project.customer_id %]
32
[%- END %]
33
</td>
34
 </tr>
35

  
36
 <tr>
37
  <th align="right">[% 'Valid' | $T8 %]</th>
38
  <td>[% L.select_tag('project.valid', [ [ 1, LxERP.t8('Valid') ], [ 0, LxERP.t8('Invalid') ] ], default=SELF.project.valid, style='width: 300px') %]</td>
39
 </tr>
40

  
41
 [%- IF SELF.project.id %]
42
 <tr>
43
  <th align="right">[% 'Active' | $T8 %]</th>
44
  <td>[% L.select_tag('project.active', [ [ 1, LxERP.t8('Active') ], [ 0, LxERP.t8('Inactive') ] ], default=SELF.project.active, style='width: 300px') %]</td>
45
 </tr>
46
 [%- END %]
9
<table class="tbl-horizontal">
10
  <caption>[% 'Project' | $T8 %][% IF SELF.project.description %] <i>[% SELF.project.description %]</i>[% END %] </caption>
11
  <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
12
  <tbody>
13
    <tr>
14
      <th>[% 'Number' | $T8 %]</th>
15
      <td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, class="wi-wide initial_focus") %]</td>
16
    </tr>
17
    <tr>
18
      <th>[% 'Description' | $T8 %]</th>
19
      <td>[% L.areainput_tag("project.description", SELF.project.description, size=37, class='wi-wide', wrap="soft") %] </td>
20
    </tr>
21
    <tr>
22
      <th>[% 'Project Type' | $T8 %]</th>
23
      <td>[% L.select_tag('project.project_type_id', SELF.project_types, default=SELF.project.project_type_id, title_key='description', class='wi-wide') %]</td>
24
    </tr>
25
    <tr>
26
      <th>[% 'Project Status' | $T8 %]</th>
27
      <td>[% L.select_tag('project.project_status_id', SELF.project_statuses, default=SELF.project.project_status_id, title_key='description', class='wi-wide') %]</td>
28
    </tr>
29
    <tr>
30
      <th>[% 'Customer' | $T8 %]</th>
31
      <td>
32
        [% P.customer_vendor.picker('project.customer_id', SELF.project.customer_id, type='customer', fat_set_item=1, class='wi-wide', default=SELF.project.customer_id)%]
33
        [% #PENDENT: Was bedeutet das? %] [% IF SELF.project.customer_id %][% END %]
34
      </td>
35
    </tr>
36
    <tr>
37
      <th>[% 'Valid' | $T8 %]</th>
38
      <td>[% L.select_tag('project.valid', [ [ 1, LxERP.t8('Valid') ], [ 0, LxERP.t8('Invalid') ] ], default=SELF.project.valid, class='wi-wide') %]</td>
39
    </tr>
40
    [% IF SELF.project.id %]
41
    <tr>
42
      <th>[% 'Active' | $T8 %]</th>
43
      <td>[% L.select_tag('project.active', [ [ 1, LxERP.t8('Active') ], [ 0, LxERP.t8('Inactive') ] ], default=SELF.project.active, class='wi-wide') %]</td>
44
    </tr>
45
    [% END %]
46
  </tbody>
47 47
</table>
48

  
49
</div><!-- /.wrapper -->

Auch abrufbar als: Unified diff