diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-06-17 20:49:00 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-06-17 20:49:00 +0300 |
commit | 3418ece690ca90d676a7d8ae654da7770ae312fb (patch) | |
tree | 5daa04838cda0e85da32865fde42b14f310a2627 /servo/forms/admin.py | |
parent | 3421b809f432ee49586df91b627ef70aa3e07cbf (diff) | |
download | Servo-master.tar.gz Servo-master.tar.bz2 Servo-master.zip |
Diffstat (limited to 'servo/forms/admin.py')
-rw-r--r-- | servo/forms/admin.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/servo/forms/admin.py b/servo/forms/admin.py index a33d4d4..e012bab 100644 --- a/servo/forms/admin.py +++ b/servo/forms/admin.py @@ -354,6 +354,20 @@ class SettingsForm(BaseForm): help_text=_('Check to make the "device condition" field mandatory'), ) + checkin_tech_name = forms.ChoiceField( + choices=( + ('full', _('Firstname Lastname')), + ('short', _('Firstname Lastinitial')), + ('first', _('Firstname')), + ('last', _('Lastname')), + ('none', _('None')), + ), + initial='full', + required=False, + label=_('Name format'), + help_text=_('Controls how the tech name is displayed in printouts.') + ) + # end checkin fields currency = forms.ChoiceField( |