From 095f42c72ece8c58ec8c9ffa7c85dbb5984f787e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Mon, 5 Jan 2015 19:53:31 +0100 Subject: [PATCH] cp_greeting Upgrade-Skript 3.0 kompatibel gemacht --- templates/webpages/dbupgrade/cp_greeting_update_form.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/webpages/dbupgrade/cp_greeting_update_form.html b/templates/webpages/dbupgrade/cp_greeting_update_form.html index ffa6b4972..5875efb22 100644 --- a/templates/webpages/dbupgrade/cp_greeting_update_form.html +++ b/templates/webpages/dbupgrade/cp_greeting_update_form.html @@ -2,7 +2,9 @@ [% USE HTML %]

[% 'cp_greeting to cp_gender migration' | $T8 %]

-
+ + +

The method for generating greetings ("Dear Mr. Smith") is being changed so the greeting is controlled by the gender. For this a new database field cp_gender is introduced, while the old database field cp_greeting will be removed. The various translations (Mr./Herr/Monsieur) will be stored in the database, under generic_translations. The print variable cp_greeting still exists, however, so print templates don't have to be changed, and the variable is assigned according to the gender of the contact person and the desired language.

-- 2.20.1