<\/i>/', '$1', $icon_html);
+ }
};
diff --git a/custom/panel_templates/Default/core/announcements_form.tpl b/custom/panel_templates/Default/core/announcements_form.tpl
index 1a0c9d8ad4..309f5e17b3 100644
--- a/custom/panel_templates/Default/core/announcements_form.tpl
+++ b/custom/panel_templates/Default/core/announcements_form.tpl
@@ -89,11 +89,24 @@
@@ -246,9 +259,20 @@
}).children().click(function (e) {
e.stopPropagation();
});
+
+ new UniversalIconPicker('#nav-icon-picker', {
+ allowEmpty: false,
+ iconLibraries: [
+ 'fomantic-ui.min.json',
+ 'font-awesome.min.json',
+ ],
+ onSelect: (icon) => {
+ document.getElementById('icon').value = icon.iconClass;
+ }
+ });
});