From e43a9252e3522874c449c30054613c7c2ba308e7 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 12 Nov 2014 12:12:33 +0100 Subject: [PATCH] Ansprechpersonen-CVars mit INCLUDE und nicht PROCESS einbinden MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PROCESS lokalisiert die Variablen nicht. Das führt dazu, dass bei multiplen CVars für Ansprechpersonen der Feldname aller CVar-Inputs immer der der ersten CVar ist. --- templates/webpages/customer_vendor/tabs/contacts.html | 2 +- templates/webpages/customer_vendor/tabs/custom_variables.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/webpages/customer_vendor/tabs/contacts.html b/templates/webpages/customer_vendor/tabs/contacts.html index af4b94241..630a60704 100644 --- a/templates/webpages/customer_vendor/tabs/contacts.html +++ b/templates/webpages/customer_vendor/tabs/contacts.html @@ -214,7 +214,7 @@ [% var.config.description | html %] - [% PROCESS 'common/render_cvar_input.html' + [% INCLUDE 'common/render_cvar_input.html' cvar_name_prefix = 'contact_cvars.' %] diff --git a/templates/webpages/customer_vendor/tabs/custom_variables.html b/templates/webpages/customer_vendor/tabs/custom_variables.html index e0ecdc794..dcd62f091 100644 --- a/templates/webpages/customer_vendor/tabs/custom_variables.html +++ b/templates/webpages/customer_vendor/tabs/custom_variables.html @@ -8,7 +8,7 @@ [% var.config.description | html %] - [% PROCESS 'common/render_cvar_input.html' + [% INCLUDE 'common/render_cvar_input.html' cvar_name_prefix = 'cv_cvars.' var_name = '' %] -- 2.20.1