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

17 lines
377 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
- Differ.format = :ascii
= raw Differ.diff(@event.description, @event.description_was).to_s |
.gsub(/\[31m/, '') |
.gsub(/\[32m/, '') |
.gsub(/\[0m/, '') |
\
- 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'