add 'mark all as read' on notification dropdown
This commit is contained in:
parent
9fba69cd5b
commit
f204910aa4
3 changed files with 12 additions and 10 deletions
|
|
@ -50,7 +50,7 @@ class NotificationsController < VannaController
|
|||
|
||||
post_process :html do
|
||||
def post_read_all(json)
|
||||
Response.new(:status => 302, :location => aspects_path)
|
||||
Response.new(:status => 302, :location => multi_path)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -40,6 +40,9 @@
|
|||
|
||||
#notification_dropdown
|
||||
.header
|
||||
.right
|
||||
= link_to t('notifications.index.mark_all_as_read'), read_all_notifications_path
|
||||
\|
|
||||
= link_to t('.view_all'), notifications_path, :id => "view_all_notifications"
|
||||
%h4
|
||||
= t('.recent_notifications')
|
||||
|
|
|
|||
|
|
@ -3075,14 +3075,6 @@ a.toggle_selector
|
|||
:position absolute
|
||||
:left 0
|
||||
|
||||
#view_all_notifications
|
||||
:float right
|
||||
:margin
|
||||
:right 3px
|
||||
:font
|
||||
:weight bold
|
||||
|
||||
|
||||
#notification_dropdown
|
||||
@include dropdown-shadow
|
||||
|
||||
|
|
@ -3096,6 +3088,13 @@ a.toggle_selector
|
|||
|
||||
:color #444
|
||||
|
||||
.right
|
||||
:font-size smaller
|
||||
:right 10px
|
||||
:top 13px
|
||||
:font
|
||||
:weight bold
|
||||
|
||||
a
|
||||
:color $blue
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue