From: Jan Büren Date: Mon, 5 Jan 2015 18:53:31 +0000 (+0100) Subject: cp_greeting Upgrade-Skript 3.0 kompatibel gemacht X-Git-Tag: release-3.2.0beta~103 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=095f42c72ece8c58ec8c9ffa7c85dbb5984f787e;p=kivitendo-erp.git cp_greeting Upgrade-Skript 3.0 kompatibel gemacht --- 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.