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

21 lines
383 B
Plaintext
Raw Normal View History

2014-06-09 12:18:40 +02:00
=t '.title'
\
=t '.body', subject: @event.title, author: @current_user||t('.submitter')
2014-06-09 12:18:40 +02:00
- new = render file: '/events/show'
- former = @event
- @event = @older_event
- prev = render file: '/events/show'
- @event = former
2014-10-03 01:22:54 +02:00
= raw Diffy::Diff.new prev, new
2014-06-09 12:18:40 +02:00
\
- if @current_user
= edit_moderation_url @event
- else
= edit_event_url @event, secret: @event.secret
2014-06-09 12:18:40 +02:00
\
=t '.signature'