Move "full name" to front of grid columns

Also use "full name" label in fieldset, instead of "display name".
This commit is contained in:
Lance Edgar 2016-05-10 15:17:14 -05:00
parent 123f5ce0c6
commit 4c5bdc6766

View file

@ -69,9 +69,9 @@ class PeopleView(MasterView):
g.configure( g.configure(
include=[ include=[
g.display_name.label("Full Name"),
g.first_name, g.first_name,
g.last_name, g.last_name,
g.display_name,
g.phone.label("Phone Number"), g.phone.label("Phone Number"),
g.email.label("Email Address"), g.email.label("Email Address"),
], ],
@ -92,7 +92,7 @@ class PeopleView(MasterView):
def configure_fieldset(self, fs): def configure_fieldset(self, fs):
fs.configure( fs.configure(
include=[ include=[
fs.display_name, fs.display_name.label("Full Name"),
fs.first_name, fs.first_name,
fs.middle_name, fs.middle_name,
fs.last_name, fs.last_name,