Added the button changing effect + the ability to read all of a type to mobile
This commit is contained in:
parent
406397988b
commit
c68eeb70fb
1 changed files with 4 additions and 2 deletions
|
|
@ -2,8 +2,10 @@
|
|||
= t('.notifications')
|
||||
|
||||
.right
|
||||
= link_to t('.mark_all_as_read'), read_all_notifications_path, :class => 'btn'
|
||||
|
||||
-if params[:type]
|
||||
= link_to t('.mark_all_shown_as_read'), read_all_notifications_path(:type => params[:type] ), :class => 'btn'
|
||||
-else
|
||||
= link_to t('.mark_all_as_read'), read_all_notifications_path, :class => 'btn'
|
||||
%ul.notifications
|
||||
- @group_days.each do |day, notes|
|
||||
%li
|
||||
|
|
|
|||
Loading…
Reference in a new issue