X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Frequirement_spec%2F_form.html;h=20bf7a1164eb47636db39706718595546b4b86f4;hb=f5b56d67c1ef6dc87d4dcd50ba31f9a2b0a20846;hp=326026345954b57c7b56bf636665451db0da6373;hpb=578b62c5b00b467f43c528ad2f7e0880bf08c18d;p=kivitendo-erp.git diff --git a/templates/webpages/requirement_spec/_form.html b/templates/webpages/requirement_spec/_form.html index 326026345..20bf7a116 100644 --- a/templates/webpages/requirement_spec/_form.html +++ b/templates/webpages/requirement_spec/_form.html @@ -2,7 +2,9 @@ [%- DEFAULT id_prefix = 'basic_settings_form' submit_as = 'post' %] -
+ +

[% LxERP.t8("Edit general settings") %]

+ [% L.hidden_tag("id", SELF.requirement_spec.id, id=id_prefix _ '_id') %] [% L.hidden_tag("requirement_spec.is_template", SELF.requirement_spec.is_template, id=id_prefix _ '_is_template') %] @@ -12,13 +14,13 @@ [% L.input_tag("requirement_spec.title", SELF.requirement_spec.title, id=id_prefix _ '_title') %] -[%- UNLESS SELF.requirement_spec.is_template %] - [% LxERP.t8("Requirement Spec Type") %] [% L.select_tag("requirement_spec.type_id", SELF.types, default=SELF.requirement_spec.type_id, title_key="description", id=id_prefix _ '_type_id') %] +[%- UNLESS SELF.requirement_spec.is_template %] + [% LxERP.t8("Requirement Spec Status") %] [% L.select_tag("requirement_spec.status_id", SELF.statuses, default=SELF.requirement_spec.status_id, title_key="description", id=id_prefix _ '_status_id') %] @@ -43,7 +45,11 @@ [%- L.hidden_tag('copy_source_id', SELF.copy_source.id) %]

- [%- LxERP.t8("The new requirement spec will be a copy of '#1' for customer '#2'.", SELF.copy_source.title, SELF.copy_source.customer.name) %] + [%- IF SELF.requirement_spec.is_template %] + [%- LxERP.t8("The new requirement spec template will be a copy of '#1'.", SELF.copy_source.title) %] + [%- ELSE %] + [%- LxERP.t8("The new requirement spec will be a copy of '#1' for customer '#2'.", SELF.copy_source.title, SELF.copy_source.customer.name) %] + [%- END %]

[%- END %]