Browse Source

Registrations page fix

development
Godwin 10 years ago
parent
commit
8e323b7fd5
  1. 2
      app/views/conferences/registrations.html.haml

2
app/views/conferences/registrations.html.haml

@ -26,7 +26,7 @@
- stats[:completed] += (registration.completed ? 1 : 0) - stats[:completed] += (registration.completed ? 1 : 0)
- stats[:paid] += (registration.registration_fees_paid ? 1 : 0) - stats[:paid] += (registration.registration_fees_paid ? 1 : 0)
- stats[:collected] += (registration.registration_fees_paid || 0) - stats[:collected] += (registration.registration_fees_paid || 0)
%td.user{rowspan: 2, id: user ? "user-#{user.id}" : nil}=registration.email %td.user{rowspan: (user.present? ? 2 : nil), id: user ? "user-#{user.id}" : nil}=registration.email
%td=data[:user][:firstname] %td=data[:user][:firstname]
%td=data[:user][:lastname] %td=data[:user][:lastname]
%td=data[:user][:username] %td=data[:user][:username]

Loading…
Cancel
Save