From 5ed1a082f1f29614df03323a42f8edf5cf7e8b92 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 6 May 2015 08:33:12 +0930 Subject: [PATCH] Add icon to notification preferences --- framework/core/js/forum/src/components/settings-page.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/core/js/forum/src/components/settings-page.js b/framework/core/js/forum/src/components/settings-page.js index 68c75d547..6116ea717 100644 --- a/framework/core/js/forum/src/components/settings-page.js +++ b/framework/core/js/forum/src/components/settings-page.js @@ -5,6 +5,7 @@ import ActionButton from 'flarum/components/action-button'; import FieldSet from 'flarum/components/field-set'; import NotificationGrid from 'flarum/components/notification-grid'; import listItems from 'flarum/helpers/list-items'; +import icon from 'flarum/helpers/icon'; export default class SettingsPage extends UserPage { /** @@ -118,7 +119,7 @@ export default class SettingsPage extends UserPage { items.add('discussionRenamed', { name: 'discussionRenamed', - label: 'Someone renames a discussion I started' + label: [icon('pencil'), ' Someone renames a discussion I started'] }); return items;