Merge branch 'bug/fix-event-link-in-emails' into 'master'
Fix event link construction in emails See merge request framasoft/mobilizon!392
This commit is contained in:
commit
93e0888ac3
@ -22,6 +22,7 @@ Also make sure to remove the `EnvironmentFile=` line from the systemd service an
|
|||||||
### Fixed
|
### Fixed
|
||||||
- Fixed URL search
|
- Fixed URL search
|
||||||
- Fixed content accessed through URL search being public
|
- Fixed content accessed through URL search being public
|
||||||
|
- Fix event links in some emails
|
||||||
|
|
||||||
## [1.0.0-beta.2] - 2019-12-18
|
## [1.0.0-beta.2] - 2019-12-18
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
<td bgcolor="#ffffff" align="center" style="padding: 20px 30px 60px 30px;">
|
<td bgcolor="#ffffff" align="center" style="padding: 20px 30px 60px 30px;">
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" style="border-radius: 3px;" bgcolor="#424056"><a href="<%= page_url(Mobilizon.Web.Endpoint, :event, @event.id) %>" target="_blank" style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #424056; display: inline-block;">
|
<td align="center" style="border-radius: 3px;" bgcolor="#424056"><a href="<%= page_url(Mobilizon.Web.Endpoint, :event, @event.uuid) %>" target="_blank" style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #424056; display: inline-block;">
|
||||||
<%= gettext "Go to event page" %>
|
<%= gettext "Go to event page" %>
|
||||||
</a></td>
|
</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
|
|
||||||
<%= gettext "An organizer just approved your participation. You're now going to this event!" %>
|
<%= gettext "An organizer just approved your participation. You're now going to this event!" %>
|
||||||
|
|
||||||
<%= page_url(Mobilizon.Web.Endpoint, :event, @event.id) %>
|
<%= page_url(Mobilizon.Web.Endpoint, :event, @event.uuid) %>
|
||||||
|
|
||||||
<%= gettext "If you need to cancel your participation, just access the previous link and click on the participation button." %>
|
<%= gettext "If you need to cancel your participation, just access the previous link and click on the participation button." %>
|
||||||
|
@ -97,7 +97,7 @@
|
|||||||
<td bgcolor="#ffffff" align="center" style="padding: 20px 30px 60px 30px;">
|
<td bgcolor="#ffffff" align="center" style="padding: 20px 30px 60px 30px;">
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" style="border-radius: 3px;" bgcolor="#424056"><a href="<%= page_url(Mobilizon.Web.Endpoint, :event, @event.id) %>" target="_blank" style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #424056; display: inline-block;">
|
<td align="center" style="border-radius: 3px;" bgcolor="#424056"><a href="<%= page_url(Mobilizon.Web.Endpoint, :event, @event.uuid) %>" target="_blank" style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #424056; display: inline-block;">
|
||||||
<%= gettext "Go to event page" %>
|
<%= gettext "Go to event page" %>
|
||||||
</a></td>
|
</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -16,6 +16,6 @@
|
|||||||
<%= gettext "New date and time for ending of event: %{ends_on}", ends_on: datetime_to_string(@event.ends_on, @locale) %>
|
<%= gettext "New date and time for ending of event: %{ends_on}", ends_on: datetime_to_string(@event.ends_on, @locale) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= gettext "View the updated event on: %{link}", link: page_url(Mobilizon.Web.Endpoint, :event, @event.id) %>
|
<%= gettext "View the updated event on: %{link}", link: page_url(Mobilizon.Web.Endpoint, :event, @event.uuid) %>
|
||||||
|
|
||||||
<%= gettext "If you need to cancel your participation, just access the event page through link above and click on the participation button." %>
|
<%= gettext "If you need to cancel your participation, just access the event page through link above and click on the participation button." %>
|
||||||
|
Loading…
Reference in New Issue
Block a user