From: Moritz Bunkus Date: Wed, 31 Jul 2013 15:02:21 +0000 (+0200) Subject: Pflichtenheftitems: Tabreihenfolge gefixt X-Git-Tag: release-3.2.0beta~467^2~92 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7502b084c59fd904c28f799e5ef6039a4ccea399;p=kivitendo-erp.git Pflichtenheftitems: Tabreihenfolge gefixt --- diff --git a/templates/webpages/requirement_spec_item/_function_block_form.html b/templates/webpages/requirement_spec_item/_function_block_form.html index 3c5429533..dbe5952b0 100644 --- a/templates/webpages/requirement_spec_item/_function_block_form.html +++ b/templates/webpages/requirement_spec_item/_function_block_form.html @@ -19,12 +19,25 @@ [% END %]
-
- [%- LxERP.t8("Dependencies") %]:
- [%- L.select_tag(id_base _ '.dependencies[]', DEPENDENCIES, default=SELECTED_DEPENDENCIES, with_optgroups=1, multiple=1, size=8, style="width: 100%") %] +
+
+[%- IF SELF.item.id -%] + [% LxERP.t8("Description of #1", SELF.item.fb_number) %] +[%- ELSIF SELF.item.item_type == 'function-block' -%] + [%- LxERP.t8("Add function block") %] +[%- ELSE -%] + [%- LxERP.t8("Add sub function block") %] +[%- END -%]:
+ [% L.textarea_tag(id_base _ '.description', SELF.item.description, rows=8, style="width: 100%") %] +
+ +
+ [% L.ajax_submit_tag('controller.pl?action=RequirementSpecItem/ajax_' _ (SELF.item.id ? 'update' : 'create'), '#' _ id_base _ '_form', LxERP.t8('Save'), id=id_base _ '_submit') %] + [%- LxERP.t8("Cancel") %] +
-
+
[%- LxERP.t8("Complexity") %]:
[%- L.select_tag(id_base _ '.complexity_id', SELF.complexities, title_key='description', default=SELF.item.complexity_id, style="width: 100%") %]
@@ -37,20 +50,14 @@ [%- END %]
-
-[%- IF SELF.item.id -%] - [% LxERP.t8("Description of #1", SELF.item.fb_number) %] -[%- ELSIF SELF.item.item_type == 'function-block' -%] - [%- LxERP.t8("Add function block") %] -[%- ELSE -%] - [%- LxERP.t8("Add sub function block") %] -[%- END -%]:
- [% L.textarea_tag(id_base _ '.description', SELF.item.description, rows=8, style="width: 100%") %] +
+ [%- LxERP.t8("Dependencies") %]:
+ [%- L.select_tag(id_base _ '.dependencies[]', DEPENDENCIES, default=SELECTED_DEPENDENCIES, with_optgroups=1, multiple=1, size=8, style="width: 100%") %]
+ +

- [% L.ajax_submit_tag('controller.pl?action=RequirementSpecItem/ajax_' _ (SELF.item.id ? 'update' : 'create'), '#' _ id_base _ '_form', LxERP.t8('Save'), id=id_base _ '_submit') %] - [%- LxERP.t8("Cancel") %]