Revision 686486eb
Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt
templates/webpages/project/form.html | ||
---|---|---|
5 | 5 |
[% USE LxERP %] |
6 | 6 |
<h1>[% title %]</h1> |
7 | 7 |
|
8 |
[%- INCLUDE 'common/flash.html' %]
|
|
8 |
[% INCLUDE 'common/flash.html' %] |
|
9 | 9 |
|
10 | 10 |
<form method="post" action="controller.pl" id="form"> |
11 | 11 |
[% L.hidden_tag("callback", callback) %] |
... | ... | |
14 | 14 |
<div class="tabwidget"> |
15 | 15 |
<ul> |
16 | 16 |
<li><a href="#basic_data">[% 'Basic Data' | $T8 %]</a></li> |
17 |
[%- IF CUSTOM_VARIABLES.size %]
|
|
18 |
<li><a href="#custom_variables">[% 'Custom Variables' | $T8 %]</a></li> |
|
19 |
[%- END %]
|
|
20 |
[%- IF SELF.may_edit_invoice_permissions %]
|
|
21 |
<li><a href="#invoice_permissions">[% 'Permissions for invoices' | $T8 %]</a></li> |
|
22 |
[%- END %]
|
|
23 |
[%- IF SELF.project.id and AUTH.assert('record_links', 1) %]
|
|
24 |
<li><a href="#linked_records">[% 'Linked Records' | $T8 %]</a></li> |
|
25 |
[%- END %]
|
|
17 |
[% IF CUSTOM_VARIABLES.size %] |
|
18 |
<li><a href="#custom_variables">[% 'Custom Variables' | $T8 %]</a></li>
|
|
19 |
[% END %] |
|
20 |
[% IF SELF.may_edit_invoice_permissions %] |
|
21 |
<li><a href="#invoice_permissions">[% 'Permissions for invoices' | $T8 %]</a></li>
|
|
22 |
[% END %] |
|
23 |
[% IF SELF.project.id and AUTH.assert('record_links', 1) %] |
|
24 |
<li><a href="#linked_records">[% 'Linked Records' | $T8 %]</a></li>
|
|
25 |
[% END %] |
|
26 | 26 |
</ul> |
27 | 27 |
|
28 |
<div id="basic_data"> |
|
29 |
[%- PROCESS 'project/_basic_data.html' %]
|
|
28 |
<div id="basic_data" class="ui-tabs-panel">
|
|
29 |
[% PROCESS 'project/_basic_data.html' %]
|
|
30 | 30 |
</div> |
31 | 31 |
|
32 |
[%- IF CUSTOM_VARIABLES.size %]
|
|
33 |
<div id="custom_variables">
|
|
34 |
[%- PROCESS 'project/_cvars.html' %]
|
|
35 |
</div> |
|
36 |
[%- END %]
|
|
37 |
|
|
38 |
[%- IF SELF.may_edit_invoice_permissions %]
|
|
39 |
<div id="invoice_permissions"> |
|
40 |
[%- PROCESS 'project/_invoice_permissions.html' %] |
|
41 |
</div> |
|
42 |
[%- END %]
|
|
43 |
|
|
44 |
[%- IF SELF.project.id and AUTH.assert('record_links', 1) %]
|
|
45 |
<div id="linked_records">
|
|
46 |
[%- PROCESS 'project/_linked_records.html' records=SELF.linked_records %]
|
|
47 |
</div> |
|
48 |
[%- END %]
|
|
32 |
[% IF CUSTOM_VARIABLES.size %] |
|
33 |
<div id="custom_variables" class="ui-tabs-panel">
|
|
34 |
[% PROCESS 'project/_cvars.html' %]
|
|
35 |
</div>
|
|
36 |
[% END %] |
|
37 |
|
|
38 |
[% IF SELF.may_edit_invoice_permissions %] |
|
39 |
<div id="invoice_permissions">
|
|
40 |
[%- PROCESS 'project/_invoice_permissions.html' %]
|
|
41 |
</div>
|
|
42 |
[% END %] |
|
43 |
|
|
44 |
[% IF SELF.project.id and AUTH.assert('record_links', 1) %] |
|
45 |
<div id="linked_records" class="ui-tabs-panel">
|
|
46 |
[% PROCESS 'project/_linked_records.html' records=SELF.linked_records %]
|
|
47 |
</div>
|
|
48 |
[% END %] |
|
49 | 49 |
|
50 | 50 |
</div> |
51 | 51 |
</form> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/project/form.html