agenda-libre-ruby/app/views/moderation_mailer/update.text.haml

21 lines
383 B
Plaintext

=t '.title'
\
=t '.body', subject: @event.title, author: @current_user||t('.submitter')
- new = render file: '/events/show'
- former = @event
- @event = @older_event
- prev = render file: '/events/show'
- @event = former
= raw Diffy::Diff.new prev, new
\
- if @current_user
= edit_moderation_url @event
- else
= edit_event_url @event, secret: @event.secret
\
=t '.signature'