remove self applicant and add created at sortable to volunteer index

parent c9e86551
Pipeline #37552 failed with stage
in 11 minutes and 39 seconds
......@@ -25,7 +25,7 @@
- if policy(Volunteer).show_comments?
th= t_attr(:comments)
th= sort_link @q, :external
th= t_attr(:created_by, Volunteer)
th= sort_link @q, :created_at, t_attr(:created_at)
tbody
= render volunteers
......
......@@ -51,10 +51,4 @@ tr id=(dom_id(volunteer))
- if policy(Volunteer).show_comments?
= td_truncate_content_modal(volunteer.comments, 'Bemerkungen')
td = volunteer.external? ? t_attr(:external, Volunteer) : t_attr(:internal, Volunteer)
td
- if volunteer.self_applicant?
= t('volunteer_self_applicant')
- else
= link_to volunteer.registrar.full_name, profile_url_path(volunteer.registrar)
br
= l(volunteer.created_at.to_date) if volunteer.created_at
td = l(volunteer.created_at.to_date)
......@@ -506,6 +506,7 @@ de:
additional_phone_numbers: Zusätzliche Telefonnummern
assignment_count: Anzahl begleitungen
availability: Verfügbarkeit
created_at: Anmeldedatum
external: Extern
internal: Intern
available: Verfügbar
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment