Commit graph

27 commits

Author SHA1 Message Date
Felipe Artur
36d48120f6 merge master into issue_3359_3 2016-06-29 11:04:18 -03:00
Felipe Artur
33c61bd461 Re-use notifications dropdown/modal for user profile 2016-06-17 00:17:20 -03:00
Felipe Artur
f82ab42d05 Re-use notifications dropdown on user profile 2016-06-16 23:34:21 -03:00
Phil Hughes
24f5f071dc Added description to custom option in notification dropdown
Always shows the custom option in the dropdown
2016-06-16 15:42:54 +01:00
Felipe Artur
39ead205de Remove notification level fild from users, improve migrations and specs 2016-06-10 11:49:30 -03:00
Felipe Artur
8f6d43e0fe Remove notification level from user model 2016-06-10 10:58:13 -03:00
Phil Hughes
e141a1c6f1 Notifications dropdown on project page now has descriptions
This is part of #12758
2016-06-07 15:02:00 +01:00
Dmitriy Zaporozhets
08b3d7f6ef Refactor notification helper and fix notification service
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-30 10:44:20 +02:00
Dmitriy Zaporozhets
4ca73f56cb Small refactoring and cleanup of notification logic
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-30 10:44:20 +02:00
Dmitriy Zaporozhets
359157c097 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>
2016-03-30 10:44:20 +02:00
Dmitriy Zaporozhets
c9f2f2a483 Fix wrong variable name
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-16 13:01:34 +01:00
Dmitriy Zaporozhets
433e4a80ef Fix code duplication in NotificationsHelper
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-16 13:01:34 +01:00
Douwe Maan
47e926bec0 Minor code cleanup 2015-09-20 19:09:43 +02:00
Patricio Cano
4c98357f16 Added Global to the drop downs and updated the label of the button to show the current level instead of Notifications 2015-09-16 19:46:24 -05:00
Patricio Cano
01cc20378b Notification dropdown now shows currently active level, and also shows what the actual value of global is, if the project has the notification level set to global. 2015-09-14 20:33:24 -05:00
Patricio Cano
8a6fb46dff Corrected case indentation to conform with Rubocop 2015-09-14 19:40:45 -05:00
Patricio Cano
dd2ffafea4 Added spacing to icons in Notification drop down 2015-09-14 19:30:58 -05:00
Patricio Cano
adcae6ebd5 Notification level can now be saved from within the project view. 2015-09-14 19:27:54 -05:00
Patricio Cano
ab56718feb Fixed notification level list item helper. 2015-09-14 18:40:47 -05:00
Darby
84508c40b7 PAtrially working notification button 2015-09-14 16:37:11 -07:00
Robert Speicher
5a9ede4721 Update mock and stub syntax for specs 2015-06-22 12:13:46 +02:00
Robert Speicher
4e7a4cd956 Use icon helper method in helper modules 2015-01-28 03:48:18 -05:00
Sullivan SENECHAL
5d8be4438a Upgrade to Font Awesome v4.2 2014-10-03 12:19:24 +02:00
Dmitriy Zaporozhets
55ab7a2a95
Remove color-named css classes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-03 14:49:50 +03:00
Dmitriy Zaporozhets
936353edfd
Improve notification settings page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-17 18:06:24 +02:00
Dmitriy Zaporozhets
9f38cf5093 Improve Notifications page. Much easier to find muted projects now 2013-07-31 17:05:22 +03:00
Dmitriy Zaporozhets
d55ade1686 notification scaffold 2013-03-27 19:04:29 +02:00