Commit 8c69cfed authored by Jiri Strojil's avatar Jiri Strojil
Browse files

Tmp

parent 7994dbf7
......@@ -9,8 +9,10 @@ h1= t_title(:index)
thead
tr
th.hidden-print Aktionen
th= t_attr(:full_name, Volunteer)
th= t_attr(:creator)
th= t_attr(:semester)
th Missions
th= t_attr(:created_at)
tbody
......@@ -19,8 +21,11 @@ h1= t_title(:index)
td.index-action-cell.hidden-print
= link_to t_action(:show), spv
= link_to t_action(:edit), edit_semester_process_volunteer_path(spv)
td= link_to_if policy(Volunteer).edit?, spv.volunteer.contact.full_name, edit_volunteer_path(spv.volunteer)
td= spv.creator
td= spv.semester_t
- spv.missions.each do |m|
td= link_to m.to_label, m.id.to_s, target: '_blank'
td= l(spv.created_at)
= bootstrap_paginate(@spvs)
......
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