Project

General

Profile

Development #7191

Add an attribute kind for person's titles

Added by Benjamin Dauvergne over 4 years ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
Start date:
08 May 2015
Due date:
% Done:

100%

Patch proposed:
Yes
Planning:
No

0001-attribute_kinds-add-person-title.patch View (3.15 KB) Benjamin Dauvergne, 08 May 2015 04:09 PM

0001-attribute_kinds-fix-title-choices-7191.patch View (867 Bytes) Thomas Noël, 12 May 2015 03:17 PM


Related issues

Related to Hobo - Development #7185: Gestion de profil (agent authentic) Fermé 08 May 2015

Associated revisions

Revision a64a3c4f (diff)
Added by Benjamin Dauvergne over 4 years ago

attribute_kinds: add person title (fixes #7191)

Default presentation is two radio buttons with mister and mrs.

Revision 82a653b0 (diff)
Added by Thomas Noël over 4 years ago

attribute_kinds: fix title choices (#7191)

History

#1 Updated by Benjamin Dauvergne over 4 years ago

#2 Updated by Benjamin Dauvergne over 4 years ago

#3 Updated by Thomas Noël over 4 years ago

Ack

#4 Updated by Benjamin Dauvergne over 4 years ago

  • Status changed from Nouveau to Résolu (à déployer)
  • % Done changed from 0 to 100

#5 Updated by Thomas Noël over 4 years ago

Bad review, sorry

DEFAULT_TITLE_CHOICES = (
    pgettext_lazy('title', 'Mrs'),
    pgettext_lazy('title', 'Mr'),
)

should be a tuple of tuples

#6 Updated by Thomas Noël over 4 years ago

DEFAULT_TITLE_CHOICES = (
    (pgettext_lazy('title', 'Mrs'),pgettext_lazy('title', 'Mrs')),
    (pgettext_lazy('title', 'Mr'),pgettext_lazy('title', 'Mr')),
)

#7 Updated by Frédéric Péters over 4 years ago

DEFAULT_TITLE_CHOICES = (
    ('mrs', pgettext_lazy('title', 'Mrs')),
    ('mr', pgettext_lazy('title', 'Mr')),
)

#9 Updated by Thomas Noël over 4 years ago

  • Status changed from Résolu (à déployer) to En cours

#10 Updated by Benjamin Dauvergne over 4 years ago

Ack.

#11 Updated by Thomas Noël over 4 years ago

  • Status changed from En cours to Résolu (à déployer)
commit 82a653b07f716dc8c503573a6df60e3ea18ec09d
Author: Thomas NOEL <tnoel@entrouvert.com>
Date:   Tue May 12 15:16:41 2015 +0200

    attribute_kinds: fix title choices (#7191)

#12 Updated by Benjamin Dauvergne over 3 years ago

  • Status changed from Résolu (à déployer) to Solution déployée

#13 Updated by Benjamin Dauvergne over 1 year ago

  • Status changed from Solution déployée to Fermé

Also available in: Atom PDF