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
This commit is contained in:
parent
0b4f398f61
commit
d574b1624a
@ -1,17 +1,22 @@
|
|||||||
= t '.body', moderator: @current_user
|
= t '.body', moderator: @current_user
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= event_url @event
|
= event_url @event
|
||||||
\
|
\
|
||||||
= t '.edit_link'
|
= t '.edit_link'
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= edit_event_url @event, secret: @event.secret
|
= edit_event_url @event, secret: @event.secret
|
||||||
\
|
\
|
||||||
= t '.delete_link'
|
= t '.delete_link'
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= cancel_event_url @event, secret: @event.secret
|
= cancel_event_url @event, secret: @event.secret
|
||||||
\
|
\
|
||||||
- if @event.repeat > 0 && !@event.event_id
|
- if @event.repeat > 0 && !@event.event_id
|
||||||
= t '.repeat_helper', count: @event.repeat
|
= t '.repeat_helper', count: @event.repeat
|
||||||
- @event.events.each do |e|
|
- @event.events.each do |e|
|
||||||
= e
|
= e
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= edit_event_url e, secret: e.secret
|
= edit_event_url e, secret: e.secret
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= cancel_event_url e, secret: e.secret
|
= cancel_event_url e, secret: e.secret
|
||||||
\
|
\
|
||||||
= render file: '/events/show'
|
= render file: '/events/show'
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
= t '.body', subject: @event.title,
|
= t '.body', subject: @event.title,
|
||||||
start_time: l(@event.start_time, format: :at)
|
start_time: l(@event.start_time, format: :at)
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= edit_event_url @event, secret: @event.secret
|
= edit_event_url @event, secret: @event.secret
|
||||||
\
|
\
|
||||||
= t '.delete_link'
|
= t '.delete_link'
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= cancel_event_url @event, secret: @event.secret
|
= cancel_event_url @event, secret: @event.secret
|
||||||
\
|
\
|
||||||
= t '.signature'
|
= t '.signature'
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
= render file: '/events/show'
|
= render file: '/events/show'
|
||||||
\
|
\
|
||||||
= t '.access'
|
= t '.access'
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= event_url @event
|
= event_url @event
|
||||||
\
|
\
|
||||||
= t '.signature'
|
= t '.signature'
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
= t '.body', subject: @event.title, start_time: l(@event.start_time,
|
= t '.body', subject: @event.title, start_time: l(@event.start_time,
|
||||||
format: :at)
|
format: :at)
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= moderations_url
|
= moderations_url
|
||||||
\
|
\
|
||||||
= render file: '/events/show'
|
= render file: '/events/show'
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
Differ.format = Differ::Format::Patch
|
Differ.format = Differ::Format::Patch
|
||||||
= Differ.diff new, prev
|
= Differ.diff new, prev
|
||||||
\
|
\
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
- if @current_user
|
- if @current_user
|
||||||
= edit_moderation_url @event
|
= edit_moderation_url @event
|
||||||
- else
|
- else
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
\
|
\
|
||||||
= strip_tags @note.contents
|
= strip_tags @note.contents
|
||||||
\
|
\
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= moderations_url
|
= moderations_url
|
||||||
\
|
\
|
||||||
= t '.signature'
|
= t '.signature'
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
\
|
\
|
||||||
= t '.edit_link'
|
= t '.edit_link'
|
||||||
\
|
\
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= edit_event_url @note.event, secret: @note.event.secret
|
= edit_event_url @note.event, secret: @note.event.secret
|
||||||
\
|
\
|
||||||
= t '.signature'
|
= t '.signature'
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
= render file: '/orgas/show'
|
= render file: '/orgas/show'
|
||||||
\
|
\
|
||||||
= t '.access'
|
= t '.access'
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= orga_url @orga
|
= orga_url @orga
|
||||||
\
|
\
|
||||||
= t '.signature'
|
= t '.signature'
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
= t '.body', subject: @orga.name
|
= t '.body', subject: @orga.name
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= edit_orga_url @orga, secret: @orga.secret
|
= edit_orga_url @orga, secret: @orga.secret
|
||||||
\
|
\
|
||||||
= t '.delete_link'
|
= t '.delete_link'
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= cancel_orga_url @orga, secret: @orga.secret
|
= cancel_orga_url @orga, secret: @orga.secret
|
||||||
\
|
\
|
||||||
= t '.signature'
|
= t '.signature'
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
= Differ.diff new, prev
|
= Differ.diff new, prev
|
||||||
|
|
||||||
= t '.access'
|
= t '.access'
|
||||||
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= orga_url @orga
|
= orga_url @orga
|
||||||
\
|
\
|
||||||
= t '.signature'
|
= t '.signature'
|
||||||
|
Loading…
Reference in New Issue
Block a user