Added the button changing effect + the ability to read all of a type to mobile

This commit is contained in:
jaideng123 2014-08-17 15:51:37 -05:00
parent 406397988b
commit c68eeb70fb

View file

@ -2,8 +2,10 @@
= t('.notifications') = t('.notifications')
.right .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 %ul.notifications
- @group_days.each do |day, notes| - @group_days.each do |day, notes|
%li %li