-
- Downloads
Introduce NotificationSetting to user interface
* visiting project will create notification setting if missing
* change notification setting per project even without membership
* use notification settings instead of membership on profile page
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
- app/assets/javascripts/project.js.coffee 1 addition, 7 deletionsapp/assets/javascripts/project.js.coffee
- app/controllers/profiles/notifications_controller.rb 5 additions, 9 deletionsapp/controllers/profiles/notifications_controller.rb
- app/controllers/projects_controller.rb 13 additions, 4 deletionsapp/controllers/projects_controller.rb
- app/helpers/notifications_helper.rb 43 additions, 31 deletionsapp/helpers/notifications_helper.rb
- app/models/notification.rb 2 additions, 2 deletionsapp/models/notification.rb
- app/models/notification_setting.rb 7 additions, 0 deletionsapp/models/notification_setting.rb
- app/models/user.rb 6 additions, 1 deletionapp/models/user.rb
- app/views/profiles/notifications/_settings.html.haml 9 additions, 9 deletionsapp/views/profiles/notifications/_settings.html.haml
- app/views/profiles/notifications/show.html.haml 14 additions, 16 deletionsapp/views/profiles/notifications/show.html.haml
- app/views/projects/buttons/_notifications.html.haml 6 additions, 14 deletionsapp/views/projects/buttons/_notifications.html.haml
Loading
Please register or sign in to comment