Skip to content

Commit

Permalink
feat: Add Perks Notification Type - MEED-2450 - Meeds-io/MIPs#80 (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker authored Sep 15, 2023
1 parent 88a7b9b commit cb5ec31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ Notification.kudos.spaceReceived=Space {0} has received a kudos from {1}
Notification.label.SayHello=Hi
Notification.label.ViewFullDiscussion=View the full discussion
Notification.plugin.NewUserKudosButtonTitle=Say welcome
Notification.label.types.kudos=Kudos
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

extensionRegistry.registerExtension('WebNotification', 'notification-group-extension', {
rank: 40,
name: 'kudos',
plugins: [
'KudosActivityReceiverNotificationPlugin'
],
icon: 'fa-award',
});
extensionRegistry.registerExtension('WebNotification', 'notification-content-extension', {
type: 'KudosActivityReceiverNotificationPlugin',
rank: 10,
Expand Down

0 comments on commit cb5ec31

Please sign in to comment.