17 lines
377 B
Plaintext
17 lines
377 B
Plaintext
=t '.title'
|
|
\
|
|
=t '.body', subject: @event.title, author: @current_user||t('.submitter')
|
|
|
|
- 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
|
|
\
|
|
=t '.signature'
|