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,18 +1,23 @@
|
|||||||
= t '.body', moderator: @current_user
|
= t '.body', moderator: @current_user
|
||||||
= event_url @event
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= event_url @event
|
||||||
\
|
\
|
||||||
= t '.edit_link'
|
= t '.edit_link'
|
||||||
= edit_event_url @event, secret: @event.secret
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= edit_event_url @event, secret: @event.secret
|
||||||
\
|
\
|
||||||
= t '.delete_link'
|
= t '.delete_link'
|
||||||
= cancel_event_url @event, secret: @event.secret
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= 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
|
||||||
= edit_event_url e, secret: e.secret
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= cancel_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
|
||||||
\
|
\
|
||||||
= 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)
|
||||||
= edit_event_url @event, secret: @event.secret
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= edit_event_url @event, secret: @event.secret
|
||||||
\
|
\
|
||||||
= t '.delete_link'
|
= t '.delete_link'
|
||||||
= cancel_event_url @event, secret: @event.secret
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= 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'
|
||||||
= event_url @event
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= event_url @event
|
||||||
\
|
\
|
||||||
= t '.signature'
|
= t '.signature'
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
= 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)
|
||||||
= moderations_url
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= moderations_url
|
||||||
\
|
\
|
||||||
= render file: '/events/show'
|
= render file: '/events/show'
|
||||||
\
|
\
|
||||||
|
@ -13,9 +13,10 @@
|
|||||||
Differ.format = Differ::Format::Patch
|
Differ.format = Differ::Format::Patch
|
||||||
= Differ.diff new, prev
|
= Differ.diff new, prev
|
||||||
\
|
\
|
||||||
- if @current_user
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
= edit_moderation_url @event
|
- if @current_user
|
||||||
- else
|
= edit_moderation_url @event
|
||||||
= edit_event_url @event, secret: @event.secret
|
- else
|
||||||
|
= edit_event_url @event, secret: @event.secret
|
||||||
\
|
\
|
||||||
= t '.signature'
|
= t '.signature'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
\
|
\
|
||||||
= strip_tags @note.contents
|
= strip_tags @note.contents
|
||||||
\
|
\
|
||||||
= moderations_url
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= moderations_url
|
||||||
\
|
\
|
||||||
= t '.signature'
|
= t '.signature'
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
\
|
\
|
||||||
= t '.edit_link'
|
= t '.edit_link'
|
||||||
\
|
\
|
||||||
= edit_event_url @note.event, secret: @note.event.secret
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= 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'
|
||||||
= orga_url @orga
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= orga_url @orga
|
||||||
\
|
\
|
||||||
= t '.signature'
|
= t '.signature'
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
= t '.body', subject: @orga.name
|
= t '.body', subject: @orga.name
|
||||||
= edit_orga_url @orga, secret: @orga.secret
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= edit_orga_url @orga, secret: @orga.secret
|
||||||
\
|
\
|
||||||
= t '.delete_link'
|
= t '.delete_link'
|
||||||
= cancel_orga_url @orga, secret: @orga.secret
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= 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'
|
||||||
= orga_url @orga
|
= surround '<'.html_safe, '>'.html_safe do
|
||||||
|
= orga_url @orga
|
||||||
\
|
\
|
||||||
= t '.signature'
|
= t '.signature'
|
||||||
|
Loading…
Reference in New Issue
Block a user