Commit de65447d authored by cla's avatar cla
Browse files

fix edit link and add status

parent 3dfdc144
Pipeline #30062 passed with stage
in 35 minutes and 5 seconds
......@@ -9,6 +9,7 @@ h1= t_title(:index)
thead
tr
th.hidden-print Aktionen
th Status
th Freiwilige/r
th Einsätze
th Missions
......@@ -19,7 +20,12 @@ h1= t_title(:index)
- @spvs.each do |spv|
tr
td.index-action-cell.hidden-print
= button_link icon_span(:edit), edit_semester_process_volunteer_path(spv), title: 'Bearbeiten'
= button_link icon_span(:edit), review_semester_semester_process_volunteer_path(spv), title: 'Bearbeiten'
td
- if spv.commited_at.present?
.label.label-success Bestätigt
- else
.label.label-warning Unbestätigt
td= link_to_if policy(Volunteer).edit?, spv.volunteer.contact.full_name, edit_volunteer_path(spv.volunteer)
td= spv.semester_t
td= render_missions(spv)
......
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