Add indication for unverified volunteers #45
|
@ -3,7 +3,7 @@
|
||||||
<%- @volunteers.each do |volunteer| -%>
|
<%- @volunteers.each do |volunteer| -%>
|
||||||
<%= CSV.generate_line([volunteer.id,
|
<%= CSV.generate_line([volunteer.id,
|
||||||
volunteer.name,
|
volunteer.name,
|
||||||
volunteer.email,
|
"#{volunteer.confirmed_at.nil? ? '(unverified) ' : ''}#{volunteer.email}",
|
||||||
volunteer.language,
|
volunteer.language,
|
||||||
volunteer.unique_id,
|
volunteer.unique_id,
|
||||||
volunteer.phone,
|
volunteer.phone,
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
h4.media-heading
|
h4.media-heading
|
||||||
= volunteer.name
|
= volunteer.name
|
||||||
p
|
p
|
||||||
= icon(:envelope, volunteer.email)
|
= icon(volunteer.confirmed_at.present? ? "envelope" : "envelope-o", "#{volunteer.confirmed_at.nil? ? '(unverified) ' : ''}#{volunteer.email}")
|
||||||
td
|
td
|
||||||
= volunteer.volunteer_team.name
|
= volunteer.volunteer_team.name
|
||||||
td.actions
|
td.actions
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
h4 = t '.other_info'
|
h4 = t '.other_info'
|
||||||
= icon(:language, t("locales.#{@volunteer.language}"))
|
= icon(:language, t("locales.#{@volunteer.language}"))
|
||||||
br
|
br
|
||||||
= icon(:envelope, @volunteer.email)
|
= icon(@volunteer.confirmed_at.present? ? "envelope" : "envelope-o", @volunteer.email)
|
||||||
br
|
br
|
||||||
= icon(:phone, @volunteer.phone.try(:phony_formatted, format: :international))
|
= icon(:phone, @volunteer.phone.try(:phony_formatted, format: :international))
|
||||||
br
|
br
|
||||||
|
|
Loading…
Reference in New Issue