2014-06-09 12:18:40 +02:00
|
|
|
=t '.title'
|
|
|
|
\
|
2014-07-01 22:17:57 +02:00
|
|
|
=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/, '') |
|
|
|
|
\
|
2014-07-01 22:46:53 +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'
|