show supporter level below name in registrations list (if other than free)
This commit is contained in:
parent
6a951f1f21
commit
6fc6e924ef
2 changed files with 14 additions and 0 deletions
|
|
@ -30,6 +30,11 @@
|
|||
%td
|
||||
- if field == "name"
|
||||
#{registration.last_name} #{registration.first_name} (#{registration.public_name})
|
||||
- supp_reg = get_supporter_level(registration)
|
||||
- if supp_reg
|
||||
%br
|
||||
%p{:style => "color:red"}
|
||||
= supp_reg.title unless supp_reg.title == "Free"
|
||||
|
||||
-elsif field == 'attended'
|
||||
= link_to "#{registration.send(field.to_sym)}", admin_conference_registrations_change_field_path(@conference.short_title, :id => registration.id, :view_field => "#{field}"), :method => :put, ":#{field}" => registration.send(field.to_sym), :class => "btn btn-success"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue