Ruxton
a3113cce7c
Switched to using rails-timeago to make keeping on top of new versions of plugin easier
2014-01-20 09:33:35 +08:00
Srihari Sriraman
0bcc62f07f
Disable 'Mark all as read' for notifications when everything is read
...
- This action needn't be performed when all notifications are read,
hence disabling it is a good practice
- Added a link-disabled-color
- Used css pointer-events to disable clicking on the link
Preventing default on click for the mark_all_read_link
- avoiding the use of pointer-events
- setting up disabled only for mark_all_read_link
Moved disabling of the link to a global handler
- Added disabled class to the button in /notifications when all are read
- Styled the disabled button
- Adding disabled class after completion of ajaxRequest
2013-08-29 12:12:26 +02:00
Diaspora Europe
c8ddba6b3e
add images to notifications
2013-01-11 12:30:12 +01:00
movilla
bb2d474771
Add translation to "Mark unread"
2012-03-21 15:35:44 +01:00
Maxwell Salzberg
063912287c
use the user presenter, luke
2012-02-16 13:19:14 -08:00
danielgrippi
ed3d5c429a
fix a bunch of small css related media box issues [ci skip]
2012-02-10 15:18:27 -08:00
Steven Fuchs
d8f2e73ea2
refer to model for target value, not set attributes.
2012-01-23 12:05:43 -05:00
danielgrippi
778683f3e3
don't extend helpers in the notifications index view; make notification_count and unread_message_count controller helper methods (now that we're not using vanna)
2012-01-22 22:26:27 -08:00
Steven Fuchs
e882dedd33
remove vanna controller from app, adjust scripts, specs, views and controllers to work.
2012-01-22 17:39:35 -05:00
Steven Fuchs
aae5fe04ce
css for marking as unread, and hook for notification page to be part of it when called.
2012-01-17 19:21:25 -05:00
danielgrippi
1efce2cede
Revert "Merge pull request #2547 from stwf/unread_notifications"
...
This reverts commit c61e84bc50 , reversing
changes made to b88899ff2a .
2012-01-11 12:11:00 -08:00
Steven Fuchs
a7af886da2
add 'read' class ro read messages to match the 'unread' class associated with unread messages. This will keep us from attaching jquery functionality to notification types we may not know about.
2011-12-22 15:53:14 -05:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
c3bcb9c962
Revert "Revert "Merge branch 'issue1586-aspectdropdown-when-posting'""
...
This reverts commit a407f12463 .
2011-08-18 16:48:20 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
a407f12463
Revert "Merge branch 'issue1586-aspectdropdown-when-posting'"
...
This reverts commit 2777f16f4f , reversing
changes made to 8b278adff6 .
2011-08-18 16:16:14 -07:00
Raphael Sofaer
e2b16ab16f
Correct my own spelling mistake
2011-08-11 17:10:49 -07:00
Raphael Sofaer
08ae8d23cc
aspect_membership_dropdown, not aspectmembership
2011-08-07 12:53:22 +02:00
Manuel Schölling
fead6032f7
Issue 1586: added a aspect drop down next to the submit button in the publisher
2011-08-07 12:51:32 +02:00
Sarah Mei
bcb4fac465
Vanna doesn't include helpers so we have to include them in views separately to use them. The absence of this line was producing a deprecation warning for error_messages_for, because our helper redefines that method (it was removed from rails).
2011-07-14 18:24:33 -07:00
Maxwell Salzberg
4b0157f5b0
fix notification mark all as read ui bug
2011-07-03 08:20:24 -07:00
Dennis Collinson & Michael Sofaer
f9e8e7a041
notifications tests pass
2011-06-27 19:51:35 -07:00
Michael Sofaer
d6ba3c970c
proof of concept for notifications overlay
2011-06-27 19:51:35 -07:00
Michael Sofaer
ef7580a698
Notifications page works with Vanna
2011-06-27 19:51:35 -07:00
MrZYX
db22be43a8
really no string concatenation and proper pluralization in notifications helper AKA THE REASON I DIDN'T WANTED TO TOUCH THIS STUFF
2011-05-24 17:03:48 +02:00
danielgrippi
16351227f7
use aspect dropdowns everywhere; updated rake to 0.9.0
2011-05-20 11:50:41 -07:00
Maxwell Salzberg
8796c5b722
fixed build, added debugging info for notification 500s
2011-05-19 14:48:09 -07:00
danielgrippi
0c62277961
add add to aspect dropdown on notifications page
2011-05-17 14:41:15 -07:00
Dan Hansen
4a101f25d9
Notifications.js refactor, add specs
2011-04-27 16:22:56 -05:00
maxwell
9850a3f124
change text on manage services popup
2011-04-18 18:38:03 -07:00
maxwell
62c164e1a4
fixed displays of the days based on locale
2011-04-18 18:29:55 -07:00
maxwell
d70ef86337
make the days the right size in notification page
2011-04-18 17:55:17 -07:00
maxwell
1fc01c3980
basically fixed
2011-04-18 15:10:47 -07:00
maxwell
2223c562c0
first fix of notification page
2011-04-18 15:10:47 -07:00
maxwell
5050307179
Revert "Revert "touched up notifications page" because it completly breaks the page (in matter of style and localization [dates!])"
...
This reverts commit 981d39d220 .
2011-04-18 15:10:46 -07:00
MrZYX
981d39d220
Revert "touched up notifications page" because it completly breaks the page (in matter of style and localization [dates!])
...
This reverts commit a16e83df9e .
2011-04-16 14:03:24 +02:00
danielgrippi
a16e83df9e
touched up notifications page
2011-04-15 10:42:21 -07:00
Raphael Sofaer
5afe5f667e
Move js out of notifications index, fix reference to notifications badge
2011-04-12 17:15:02 -07:00
MrZYX
985d79acb5
some more refactoring to routes.rb
2011-03-26 17:38:49 +01:00
maxwell
2e72fc09c6
made 3+ plus collapse in notifications index
2011-03-14 18:09:51 -07:00
Gonzalo Rodriguez
ea3b719253
Fixed notifications time-ago calculation
2011-02-20 05:13:34 -02:00
maxwell
67ed035f21
make notifications updated_at rather than created at
2011-02-01 21:45:36 -08:00
Raphael
906de27922
Make notifications/read_all non-ajax, link back to index page
2011-01-31 15:28:43 -08:00
zhitomirskiyi
cfef9a747e
all green
2011-01-30 20:10:34 -08:00
zhitomirskiyi
17a2c9e311
moving over some code migration successful
2011-01-29 23:34:11 -08:00
MrZYX
eba99c84ba
made 'mark all as read' translatable
2011-01-27 17:13:27 +01:00
zhitomirskiyi
41c83a7e19
mousedown so that new tab opening would make notification go down
2011-01-18 10:51:05 -08:00
Raphael
738e8c65c8
Merge almost complete, 4 failures
2011-01-14 16:00:10 -08:00
maxwell
f97a9fa017
added timeago jquery plugin. we now need to figure out a js translation scheme
2011-01-13 16:29:13 -08:00
zhitomirskiyi
9b6faa5644
added a notificaions read button
2011-01-12 16:24:14 -08:00
Raphael
83d6b95c46
Merge remote branch 'nickvdb/763-notifications-paginate'
2011-01-04 16:18:46 -08:00
zhitomirskiyi
20efe06ad5
capturing mousedown instead of click to handle open in other tab
2011-01-01 21:14:36 -08:00