diff --git a/README.rst b/README.rst index f14cbf7..cd41358 100644 --- a/README.rst +++ b/README.rst @@ -38,14 +38,15 @@ To install the package with pip:: pip install wagtail-personalisation -Next, include the ``wagtail_personalisation`` and -``wagtail.contrib.modeladmin`` app in your project's ``INSTALLED_APPS``: +Next, include the ``wagtail_personalisation``, ``wagtail.contrib.modeladmin`` +and ``wagtailfontawesome`` apps in your project's ``INSTALLED_APPS``: .. code-block:: python INSTALLED_APPS = [ # ... 'wagtail.contrib.modeladmin', + 'wagtailfontawesome', 'wagtail_personalisation', # ... ] diff --git a/sandbox/sandbox/settings.py b/sandbox/sandbox/settings.py index 736e00e..ac25145 100644 --- a/sandbox/sandbox/settings.py +++ b/sandbox/sandbox/settings.py @@ -46,6 +46,7 @@ INSTALLED_APPS = [ 'wagtail.wagtailcore', 'wagtail.contrib.modeladmin', + 'wagtailfontawesome', 'modelcluster', 'taggit', 'debug_toolbar', diff --git a/setup.py b/setup.py index 7523674..fb073a8 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,7 @@ from setuptools import find_packages, setup install_requires = [ 'wagtail>=1.10,<1.11', 'user-agents>=1.0.1', + 'wagtailfontawesome>=1.0.6', ] tests_require = [ diff --git a/src/wagtail_personalisation/views.py b/src/wagtail_personalisation/views.py index be85e53..82c4d00 100644 --- a/src/wagtail_personalisation/views.py +++ b/src/wagtail_personalisation/views.py @@ -38,7 +38,7 @@ class SegmentModelAdmin(ModelAdmin): model = Segment index_view_class = SegmentModelIndexView dashboard_view_class = SegmentModelDashboardView - menu_icon = 'group' + menu_icon = 'fa-snowflake-o' add_to_settings_menu = False list_display = ('name', 'visits', 'active_days', 'status') index_view_extra_js = ['js/commons.js', 'js/index.js']