diff --git a/events/forms.py b/events/forms.py index 7c60f071..feab3eca 100644 --- a/events/forms.py +++ b/events/forms.py @@ -536,12 +536,12 @@ def __init__(self): change_lnl_contact = FieldAccessLevel( lambda user, instance: user.has_perm('events.edit_event_lnl_contact', instance), - enable=('lnl_contact') + enable=('lnl_contact',) ) change_event_status = FieldAccessLevel( lambda user, instance: user.has_perm('events.edit_event_status', instance), - enable=('event_status') + enable=('event_status',) ) class Meta: @@ -686,12 +686,12 @@ def __init__(self): change_lnl_contact = FieldAccessLevel( lambda user, instance: user.has_perm('events.edit_event_lnl_contact', instance), - enable=('lnl_contact') + enable=('lnl_contact',) ) change_event_status = FieldAccessLevel( lambda user, instance: user.has_perm('events.edit_event_status', instance), - enable=('event_status') + enable=('event_status',) ) change_entered_into_workday = FieldAccessLevel( @@ -733,7 +733,7 @@ class Meta: group_label=lambda group: group.name, ) contact = AutoCompleteSelectField('Users', required=False) - lnl_contact = AutoCompleteSelectField('Members', label="LNL Contact (PM)", required=False) + lnl_contact = AutoCompleteSelectField('Members', label="LNL Contact", required=False) org = CustomAutoCompleteSelectMultipleField('Orgs', required=False, label="Client(s)") billing_org = AutoCompleteSelectField('Orgs', required=False, label="Client to bill") datetime_setup_complete = forms.SplitDateTimeField(initial=timezone.now, label="Setup Completed") diff --git a/site_tmpl/uglydetail.html b/site_tmpl/uglydetail.html index a8f603e2..137c19d8 100644 --- a/site_tmpl/uglydetail.html +++ b/site_tmpl/uglydetail.html @@ -201,7 +201,7 @@

Confirm Reopen Event

{{event.event_status}} - LNL Contact (PM) + LNL Contact {% if event.lnl_contact %} {{ event.lnl_contact.get_full_name }}