Revision a55624d1
Von Cem Aydin vor fast 2 Jahren hinzugefügt
templates/design40_webpages/requirement_spec_version/_form.html | ||
---|---|---|
1 |
[%- USE LxERP -%][%- USE L -%] |
|
2 |
[%- DEFAULT id_prefix = 'edit_version_form' |
|
1 |
[% USE LxERP %] |
|
2 |
[% USE L %] |
|
3 |
|
|
4 |
[% DEFAULT id_prefix = 'edit_version_form' |
|
3 | 5 |
submit_as = 'post' |
4 | 6 |
%] |
5 |
<form method="post" action="controller.pl" id="[% id_prefix %]"> |
|
6 |
[% L.hidden_tag("requirement_spec_id", SELF.requirement_spec.id, id=id_prefix _ '_id') %] |
|
7 |
[% L.hidden_tag("id", SELF.version.id, id=id_prefix _ '_id') %] |
|
8 |
|
|
9 |
<table class="rs_input_field"> |
|
10 |
<tr> |
|
11 |
<td>[% LxERP.t8("Version") %]</td> |
|
12 |
<td>[% SELF.requirement_spec.next_version_number %]</td> |
|
13 |
</tr> |
|
14 | 7 |
|
15 |
<tr> |
|
16 |
<td>[% LxERP.t8("Description") %]</td> |
|
17 |
<td>[% L.textarea_tag("rs_version.description", SELF.version.description, cols=80, rows=8, id=id_prefix _ '_description') %]</td> |
|
18 |
</tr> |
|
19 |
|
|
20 |
<tr> |
|
21 |
<td>[% LxERP.t8("Internal comment") %]</td> |
|
22 |
<td>[% L.textarea_tag("rs_version.comment", SELF.version.comment, cols=80, rows=8, id=id_prefix _ '_comment') %]</td> |
|
23 |
</tr> |
|
8 |
<form method="post" action="controller.pl" id="[% id_prefix %]"> |
|
9 |
[% L.hidden_tag("requirement_spec_id", SELF.requirement_spec.id, id=id_prefix _ '_id') %] |
|
10 |
[% L.hidden_tag("id", SELF.version.id, id=id_prefix _ '_id') %] |
|
24 | 11 |
|
25 |
</table> |
|
12 |
<table class="rs_input_field"> |
|
13 |
<tr> |
|
14 |
<td>[% LxERP.t8("Version") %]</td> |
|
15 |
<td>[% SELF.requirement_spec.next_version_number %]</td> |
|
16 |
</tr> |
|
17 |
<tr> |
|
18 |
<td>[% LxERP.t8("Description") %]</td> |
|
19 |
<td>[% L.textarea_tag("rs_version.description", SELF.version.description, cols=80, rows=8, id=id_prefix _ '_description') %]</td> |
|
20 |
</tr> |
|
21 |
<tr> |
|
22 |
<td>[% LxERP.t8("Internal comment") %]</td> |
|
23 |
<td>[% L.textarea_tag("rs_version.comment", SELF.version.comment, cols=80, rows=8, id=id_prefix _ '_comment') %]</td> |
|
24 |
</tr> |
|
25 |
</table> |
|
26 | 26 |
|
27 |
<p> |
|
28 |
[%- IF SELF.version.id %]
|
|
29 |
[% L.ajax_submit_tag("controller.pl?action=RequirementSpecVersion/update", "#" _ id_prefix, LxERP.t8("Save")) %] |
|
30 |
<a href="[% SELF.url_for(action='list') %]">[%- LxERP.t8("Cancel") %]</a> |
|
31 |
[%- ELSE %]
|
|
32 |
[% L.ajax_submit_tag("controller.pl?action=RequirementSpecVersion/create", "#" _ id_prefix, LxERP.t8("Save")) %] |
|
33 |
<a href="#" onclick="$('#jqueryui_popup_dialog').dialog('close');" class="button neutral">[% LxERP.t8("Cancel") %]</a> |
|
34 |
[%- END %]
|
|
35 |
</p> |
|
27 |
<p>
|
|
28 |
[% IF SELF.version.id %]
|
|
29 |
[% L.ajax_submit_tag("controller.pl?action=RequirementSpecVersion/update", "#" _ id_prefix, LxERP.t8("Save")) %]
|
|
30 |
<a href="[% SELF.url_for(action='list') %]">[%- LxERP.t8("Cancel") %]</a>
|
|
31 |
[% ELSE %]
|
|
32 |
[% L.ajax_submit_tag("controller.pl?action=RequirementSpecVersion/create", "#" _ id_prefix, LxERP.t8("Save")) %]
|
|
33 |
<a href="#" onclick="$('#jqueryui_popup_dialog').dialog('close');" class="button neutral">[% LxERP.t8("Cancel") %]</a>
|
|
34 |
[% END %]
|
|
35 |
</p>
|
|
36 | 36 |
</form> |
37 | 37 |
|
38 | 38 |
<script type="text/javascript"> |
39 |
<!-- |
|
40 |
$(function() { |
|
41 |
$('#[% id_prefix %]_description').focus(); |
|
42 |
}); |
|
43 |
--> |
|
39 |
$(function() { |
|
40 |
$('#[% id_prefix %]_description').focus(); |
|
41 |
}); |
|
44 | 42 |
</script> |
Auch abrufbar als: Unified diff
design40: Templates requirement_spec_version/ vereinheitlicht/bereinigt
- Formatierung vereinheitlicht
- Einrückung angepasst
- HTML Kommentare aus script tag entfernt