Commit 55fc66fd authored by Chrysanthi Lagodimou's avatar Chrysanthi Lagodimou

Merge branch 'Fixes/Add-hr-for-multiple-feedbacks-spv-index' into 'develop'

Fixes: Add hr for multiple feedbacks entries at spv index

See merge request !866
parents 4c0fc7dc c87f523b
Pipeline #31872 passed with stage
in 46 minutes and 34 seconds
......@@ -67,7 +67,11 @@ class SemesterProcessVolunteer < ApplicationRecord
end
def render_feedback(field)
semester_feedbacks.map(&field).join(', ')
field_size = 0
semester_feedbacks.each do |f|
field_size += f[field].size
end
semester_feedbacks.map(&field).compact.join('<hr>').html_safe if field_size != 0
end
def responsible=(responsible_user)
......
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