Skip to content

Commit

Permalink
New icon for the segments menu item (#118)
Browse files Browse the repository at this point in the history
New icon for the segments menu item
  • Loading branch information
jberghoef authored and mvantellingen committed Jun 1, 2017
1 parent 8465e6d commit 5beef1b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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',
# ...
]
Expand Down
1 change: 1 addition & 0 deletions sandbox/sandbox/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
'wagtail.wagtailcore',
'wagtail.contrib.modeladmin',

'wagtailfontawesome',
'modelcluster',
'taggit',
'debug_toolbar',
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
install_requires = [
'wagtail>=1.10,<1.11',
'user-agents>=1.0.1',
'wagtailfontawesome>=1.0.6',
]

tests_require = [
Expand Down
2 changes: 1 addition & 1 deletion src/wagtail_personalisation/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 5beef1b

Please sign in to comment.