agenda-libre-ruby/app/views/event_mailer/accept.text.haml
echarp d574b1624a Url sent in mails are now enclosed in angled brackets,
as recommended in RFC 3986 section C (ftp://ftp.rfc-editor.org/in-notes/rfc3986.txt)

Close #77
2016-10-18 23:28:18 +02:00

25 lines
689 B
Plaintext

= t '.body', moderator: @current_user
= surround '<'.html_safe, '>'.html_safe do
= event_url @event
\
= t '.edit_link'
= surround '<'.html_safe, '>'.html_safe do
= edit_event_url @event, secret: @event.secret
\
= t '.delete_link'
= surround '<'.html_safe, '>'.html_safe do
= cancel_event_url @event, secret: @event.secret
\
- if @event.repeat > 0 && !@event.event_id
= t '.repeat_helper', count: @event.repeat
- @event.events.each do |e|
= e
= surround '<'.html_safe, '>'.html_safe do
= edit_event_url e, secret: e.secret
= surround '<'.html_safe, '>'.html_safe do
= cancel_event_url e, secret: e.secret
\
= render file: '/events/show'
\
= t '.signature'