Sprankelprachtig aan/afmeldsysteem

subgroup_notification.html.haml 856B

123456789101112131415161718192021222324252627282930313233
  1. %p= t 'authentication.emails.greeting', name: @person.first_name
  2. %p= t 'activities.emails.subgroup_notification.yoursubgroupis', activity: @activity.name, subgroup: @subgroup
  3. - if !@others.empty?
  4. %p= t 'activities.emails.subgroup_notification.subgroupmembers', others: @others
  5. - else
  6. %p= t 'activities.emails.subgroup_notification.noothersinsubgroup'
  7. %p= t 'activities.emails.subgroup_notification.allsubgroups'
  8. %ul
  9. - @subgroups.each do |sg|
  10. %li
  11. = succeed ':' do
  12. = sg.name
  13. = sg.participant_names.join ', '
  14. %p= t 'activities.emails.subgroup_notification.cannotdecline', organizers: @organizers
  15. %p
  16. = link_to group_activity_url(@activity.group, @activity) do
  17. = t 'activities.emails.open_activity'
  18. %p
  19. = t('activities.emails.ending').sample
  20. %br
  21. Aardbei
  22. %hr
  23. %footer
  24. %p
  25. = t 'activities.emails.cant_turn_off'