Project

General

Profile

« Previous | Next » 

Revision db8b1228

Added by Daniel Lobato Garcia over 7 years ago

Fixes #18426 - Add actions to notification entries

This adds support for the notifications to display actions. In case no
actions are provided, the dropdown kebab isn't shown. The actions
possible right now only include GET links.

View differences:

app/models/notification_blueprint.rb
class NotificationBlueprint < ActiveRecord::Base
has_many :notifications
belongs_to :subject, :polymorphic => true
store :actions, :accessors => [:links], :coder => JSON
validates :message, :presence => true
validates :group, :presence => true

Also available in: Unified diff