fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
457 stars 299 forks source link

color of child with unknown gender #4014

Open mariannevanharten opened 3 years ago

mariannevanharten commented 3 years ago

When a child is stillborn, in most cases we are unknown about the gender. When I've added that child to its parents, I see on the family tab the father colored with the blue color (men), the mother colored with the pink color (woman) and the child with the white color (unknown gender). At the person's page, the father and the mother has also these colors, but also the child has the blue color. I think the child should have the white colour.

fisharebest commented 3 years ago

At the person's page

Where exactly?

ddrury commented 3 years ago

Both demo-dev & demo-2.0.16 exhibit this problem. The family navigator entry doesn't change colour after editing the sex of someone to unknown.

BTW Prince Edward has an image of Prince Andrew associated !!!

Later:

css for .wt-facts-table .wt-gender-U td is not defined but maybe it doesn't need to be if the default background color is white

ddrury commented 3 years ago

In addition in the favourites block a person with sex = U has background green in fab

ddrury commented 3 years ago

May also need to consider how to display when sex = X (Gedcom-L extension). Option on edit form is 'Other' but displayed text is 'Unknown'