Skip to content

Commit

Permalink
Don't show cancelled tea times on /profile. Closes #149
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehul Kar authored and Nick Barnwell committed Sep 22, 2014
1 parent f9eff04 commit b412f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/profiles/_host_tea_time_info.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- if !tea_times.count.zero?
%ul.upcoming.host
- tea_times.each do |tea_time|
%li.tea-time
%li.tea-time{class: (:cancelled if tea_time.cancelled?)
= render partial: 'teatime_info', locals: {tea_time: tea_time, att: nil}
- if current_user.host?
.attendees-container
Expand Down

0 comments on commit b412f9b

Please sign in to comment.