Skip to content

Commit

Permalink
Don't show flakes in user history
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Barnwell committed Sep 17, 2014
1 parent 5af5eab commit e700702
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/profiles/_user_attendance_info.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
%h3.attendees Fellow Attendees
%ul.attendees-list
- a.tea_time.attendances.each do |a|
%li.attendee-names= link_to a.user.name, "mailto:#{a.user.email}"
- unless (a.flake? || a.no_show?)
%li.attendee-names= link_to a.user.name, "mailto:#{a.user.email}"
.email-all= link_to "Email All", "mailto:#{a.tea_time.attendee_emails(filter: ->(x) { x.flake? || x.no_show?})}"
- else
%h3.attendees.none No attendees yet!
Expand Down

0 comments on commit e700702

Please sign in to comment.