diff --git a/icekit_events/admin.py b/icekit_events/admin.py index 9dd2f1b..dac2751 100644 --- a/icekit_events/admin.py +++ b/icekit_events/admin.py @@ -140,9 +140,9 @@ class EventTypeFilter(ChildModelFilter): child_model_plugin_class = EventChildModelPlugin -class PrimaryTypeFilter(SimpleListFilter): - title = "primary type" - parameter_name = "primary_type" +class PrimaryCategoryFilter(SimpleListFilter): + title = "primary category" + parameter_name = "primary_category" def lookups(self, request, model_admin): """ @@ -172,7 +172,7 @@ class EventAdmin(ChildModelPluginPolymorphicParentModelAdmin, """ base_model = models.EventBase list_filter = ( - EventTypeFilter, PrimaryTypeFilter, 'secondary_types', 'modified', 'show_in_calendar', 'is_drop_in', 'has_tickets_available', + EventTypeFilter, PrimaryCategoryFilter, 'secondary_types', 'modified', 'show_in_calendar', 'is_drop_in', 'has_tickets_available', ) + icekit_admin.ICEkitContentsAdmin.list_filter list_display = ( 'primary_type_swatch', 'publishing_object_title', 'child_type_name', 'modified', diff --git a/icekit_events/page_types/eventlistingfordate/templates/eventlistingfordate/layouts/default.html b/icekit_events/page_types/eventlistingfordate/templates/eventlistingfordate/layouts/default.html index 87fec45..c13b98f 100644 --- a/icekit_events/page_types/eventlistingfordate/templates/eventlistingfordate/layouts/default.html +++ b/icekit_events/page_types/eventlistingfordate/templates/eventlistingfordate/layouts/default.html @@ -5,25 +5,26 @@ {% block title %}{{ page.get_title }} {{ start|date }}{% endblock %} {% block content %} -