-
- Downloads
There was an error fetching the commit references. Please try again later.
Add broadcast_type to broadcast messages
Adds two different types of broadcast messages. Banner type is the current design and will be kept shown on the top of the site, where notification will be implemented in a separate frontend MR.
Showing
- app/controllers/admin/broadcast_messages_controller.rb 1 addition, 0 deletionsapp/controllers/admin/broadcast_messages_controller.rb
- app/models/broadcast_message.rb 53 additions, 23 deletionsapp/models/broadcast_message.rb
- changelogs/unreleased/nicolasdular-add-broadcast-type.yml 5 additions, 0 deletionschangelogs/unreleased/nicolasdular-add-broadcast-type.yml
- db/migrate/20191129134844_add_broadcast_type_to_broadcast_message.rb 19 additions, 0 deletions...20191129134844_add_broadcast_type_to_broadcast_message.rb
- db/schema.rb 1 addition, 0 deletionsdb/schema.rb
- spec/models/broadcast_message_spec.rb 87 additions, 32 deletionsspec/models/broadcast_message_spec.rb
Please register or sign in to comment