2019-09-23 19:33:58 +02:00
|
|
|
<!DOCTYPE html>
|
2022-04-07 10:33:11 +02:00
|
|
|
<html lang={"#{@locale}"}>
|
2020-06-23 18:40:56 +02:00
|
|
|
<head>
|
|
|
|
<title><%= @subject %></title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
2022-04-07 10:33:11 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2020-06-23 18:40:56 +02:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
<style type="text/css">
|
|
|
|
/* CLIENT-SPECIFIC STYLES */
|
2021-03-23 15:18:03 +01:00
|
|
|
* { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
|
|
|
|
table, td { mso-table-lspace: 0pt !important; mso-table-rspace: 0pt !important; }
|
2020-06-23 18:40:56 +02:00
|
|
|
img { -ms-interpolation-mode: bicubic; }
|
2022-04-07 10:33:11 +02:00
|
|
|
|
2020-06-23 18:40:56 +02:00
|
|
|
/* RESET STYLES */
|
|
|
|
img { border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; }
|
2021-03-23 15:18:03 +01:00
|
|
|
table { border-spacing: 0 !important; border-collapse: collapse !important; table-layout: fixed !important; margin: 0 auto !important; }
|
|
|
|
table table table { table-layout: auto; }
|
|
|
|
html, body { height: 100% !important; margin: 0 !important; padding: 0 !important; width: 100% !important; }
|
2022-04-07 10:33:11 +02:00
|
|
|
|
2020-06-23 18:40:56 +02:00
|
|
|
/* iOS BLUE LINKS */
|
|
|
|
a[x-apple-data-detectors] {
|
|
|
|
color: inherit !important;
|
|
|
|
text-decoration: none !important;
|
|
|
|
font-size: inherit !important;
|
|
|
|
font-family: inherit !important;
|
|
|
|
font-weight: inherit !important;
|
|
|
|
line-height: inherit !important;
|
|
|
|
}
|
2022-04-07 10:33:11 +02:00
|
|
|
|
2020-06-23 18:40:56 +02:00
|
|
|
/* MOBILE STYLES */
|
|
|
|
@media screen and (max-width:600px){
|
|
|
|
h1 {
|
|
|
|
font-size: 32px !important;
|
|
|
|
line-height: 32px !important;
|
|
|
|
}
|
|
|
|
}
|
2022-04-07 10:33:11 +02:00
|
|
|
|
2020-06-23 18:40:56 +02:00
|
|
|
/* ANDROID CENTER FIX */
|
|
|
|
div[style*="margin: 16px 0;"] { margin: 0 !important; }
|
|
|
|
</style>
|
2021-10-13 12:57:54 +02:00
|
|
|
<%= if @jsonLDMetadata do %>
|
2021-10-15 15:58:49 +02:00
|
|
|
<script type="application/ld+json">
|
|
|
|
<%= @jsonLDMetadata |> raw %>
|
|
|
|
</script>
|
2021-10-13 12:57:54 +02:00
|
|
|
<% end %>
|
2020-06-23 18:40:56 +02:00
|
|
|
</head>
|
2021-03-23 15:18:03 +01:00
|
|
|
<body style="background-color: #ECEBF2; margin: 0 !important; padding: 0 !important;mso-line-height-rule: exactly;">
|
2020-06-23 18:40:56 +02:00
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
|
|
<!-- LOGO -->
|
|
|
|
<tr>
|
2020-06-23 18:00:04 +02:00
|
|
|
<td bgcolor="#474467" align="center">
|
2020-06-23 18:40:56 +02:00
|
|
|
<!--[if (gte mso 9)|(IE)]>
|
2019-09-23 19:33:58 +02:00
|
|
|
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
|
2020-06-23 18:40:56 +02:00
|
|
|
<tr>
|
|
|
|
<td align="center" valign="top" width="600">
|
|
|
|
<![endif]-->
|
2022-04-07 10:33:11 +02:00
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;">
|
2019-09-23 19:33:58 +02:00
|
|
|
<tr>
|
2020-06-23 18:40:56 +02:00
|
|
|
<td align="center" valign="top" style="padding: 40px 10px 40px 10px;">
|
2022-04-07 10:33:11 +02:00
|
|
|
<a href={"#{Mobilizon.Web.Endpoint.url()}"} target="_blank">
|
|
|
|
<img
|
|
|
|
alt={"#{@instance_name}"}
|
|
|
|
src={"#{"#{Mobilizon.Web.Endpoint.url()}/img/mobilizon_logo.png"}"}
|
|
|
|
width="340"
|
|
|
|
height="108"
|
|
|
|
style="display: block; width: 340px; max-width: 370px; min-width: 340px; font-family: 'Roboto', Helvetica, Arial, sans-serif; color: #ffffff; font-size: 18px;"
|
|
|
|
border="0"
|
|
|
|
/>
|
2020-06-23 18:40:56 +02:00
|
|
|
</a>
|
|
|
|
</td>
|
2019-09-23 19:33:58 +02:00
|
|
|
</tr>
|
2020-06-23 18:40:56 +02:00
|
|
|
</table>
|
|
|
|
<!--[if (gte mso 9)|(IE)]>
|
|
|
|
</td>
|
2019-10-11 10:43:14 +02:00
|
|
|
</tr>
|
2020-06-23 18:40:56 +02:00
|
|
|
</table>
|
|
|
|
<![endif]-->
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<%= @inner_content %>
|
|
|
|
<%= if Mobilizon.Config.instance_demo_mode?() do %>
|
|
|
|
<!-- BETA WARNING -->
|
2019-09-23 19:33:58 +02:00
|
|
|
<tr>
|
2020-06-23 18:40:56 +02:00
|
|
|
<td bgcolor="#ECEBF2" align="center" style="padding: 30px 10px 0px 10px;">
|
2019-09-23 19:33:58 +02:00
|
|
|
<!--[if (gte mso 9)|(IE)]>
|
2020-06-23 18:40:56 +02:00
|
|
|
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
|
|
|
|
<tr>
|
|
|
|
<td align="center" valign="top" width="600">
|
2019-09-23 19:33:58 +02:00
|
|
|
<![endif]-->
|
2022-04-07 10:33:11 +02:00
|
|
|
<table
|
|
|
|
border="0"
|
|
|
|
cellpadding="0"
|
|
|
|
cellspacing="0"
|
|
|
|
width="100%"
|
|
|
|
style="max-width: 600px;"
|
|
|
|
>
|
2020-06-23 18:40:56 +02:00
|
|
|
<!-- HEADLINE -->
|
2019-09-23 19:33:58 +02:00
|
|
|
<tr>
|
2022-04-07 10:33:11 +02:00
|
|
|
<td
|
|
|
|
bgcolor="#FFD599"
|
|
|
|
align="center"
|
|
|
|
style="padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
|
|
|
>
|
2020-06-23 18:40:56 +02:00
|
|
|
<h2 style="font-size: 25px; font-weight: 400; color: #D35204; margin: 0;">
|
2022-04-07 10:33:11 +02:00
|
|
|
<%= gettext("Warning") %>
|
2020-06-23 18:40:56 +02:00
|
|
|
</h2>
|
2022-04-07 10:33:11 +02:00
|
|
|
<br />
|
|
|
|
<p style="margin: 0; color: #3A384C">
|
|
|
|
<%= gettext("This is a demonstration site to test Mobilizon.") %>
|
|
|
|
</p>
|
|
|
|
<p style="margin: 0; color: #3A384C;">
|
2022-10-31 13:00:45 +01:00
|
|
|
<b><%= gettext("Please do not use it for real purposes.") %></b>
|
2022-04-07 10:33:11 +02:00
|
|
|
</p>
|
2019-09-23 19:33:58 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!--[if (gte mso 9)|(IE)]>
|
|
|
|
</td>
|
2020-06-23 18:40:56 +02:00
|
|
|
</tr>
|
|
|
|
</table>
|
2019-09-23 19:33:58 +02:00
|
|
|
<![endif]-->
|
2020-06-23 18:40:56 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
<!-- SUPPORT CALLOUT -->
|
|
|
|
<tr>
|
|
|
|
<td bgcolor="#ECEBF2" align="center" style="padding: 30px 10px 0px 10px;">
|
|
|
|
<!--[if (gte mso 9)|(IE)]>
|
|
|
|
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
|
|
|
|
<tr>
|
|
|
|
<td align="center" valign="top" width="600">
|
|
|
|
<![endif]-->
|
2022-04-07 10:33:11 +02:00
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;">
|
2020-06-23 18:40:56 +02:00
|
|
|
<!-- HEADLINE -->
|
|
|
|
<tr>
|
2022-04-07 10:33:11 +02:00
|
|
|
<td
|
|
|
|
bgcolor="#474467"
|
|
|
|
align="center"
|
|
|
|
style="padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #3A384C; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;"
|
|
|
|
>
|
2021-06-26 15:23:22 +02:00
|
|
|
<h2 style="font-size: 20px; font-weight: 400; color: #FFFFFF; margin: 0;">
|
2022-04-07 10:33:11 +02:00
|
|
|
<%= gettext("Need help? Is something not working as expected?") %>
|
2020-06-23 18:40:56 +02:00
|
|
|
</h2>
|
2022-04-07 10:33:11 +02:00
|
|
|
<p style="margin: 0;">
|
|
|
|
<a
|
|
|
|
href="https://framacolibri.org/c/mobilizon/39"
|
|
|
|
target="_blank"
|
|
|
|
style="color: #FFFFFF;"
|
|
|
|
>
|
|
|
|
<%= gettext("Ask the community on Framacolibri") %>
|
|
|
|
</a>
|
|
|
|
</p>
|
2020-06-23 18:40:56 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!--[if (gte mso 9)|(IE)]>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<![endif]-->
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<!-- FOOTER -->
|
|
|
|
<tr>
|
|
|
|
<td bgcolor="#ECEBF2" align="center" style="padding: 0px 10px 0px 10px;">
|
|
|
|
<!--[if (gte mso 9)|(IE)]>
|
|
|
|
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
|
|
|
|
<tr>
|
|
|
|
<td align="center" valign="top" width="600">
|
|
|
|
<![endif]-->
|
2022-04-07 10:33:11 +02:00
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;">
|
2020-06-23 18:40:56 +02:00
|
|
|
<!-- ADDRESS -->
|
|
|
|
<tr>
|
2022-04-07 10:33:11 +02:00
|
|
|
<td
|
|
|
|
bgcolor="#ECEBF2"
|
|
|
|
align="center"
|
|
|
|
style="padding: 30px 30px 30px 30px; color: #474467; font-family: 'Roboto', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 18px;"
|
|
|
|
>
|
2021-11-09 12:59:37 +01:00
|
|
|
<%= if @offer_unsupscription do %>
|
|
|
|
<p>
|
2021-10-18 11:08:17 +02:00
|
|
|
<a href={"#{Mobilizon.Web.Endpoint.url()}/settings/notifications"}>
|
|
|
|
<%= gettext("Manage your notification settings") %>
|
|
|
|
</a>
|
2021-11-09 12:59:37 +01:00
|
|
|
</p>
|
|
|
|
<% end %>
|
|
|
|
<p style="margin: 0;">
|
2022-04-07 10:33:11 +02:00
|
|
|
<%= gettext("<b>%{instance}</b> is powered by Mobilizon.",
|
|
|
|
instance: @instance_name
|
|
|
|
)
|
|
|
|
|> raw %>
|
|
|
|
<br />
|
|
|
|
<a href="https://joinmobilizon.org">
|
|
|
|
<%= gettext("Learn more about Mobilizon here!") %>
|
|
|
|
</a>
|
2020-06-23 18:40:56 +02:00
|
|
|
</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!--[if (gte mso 9)|(IE)]>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<![endif]-->
|
2019-09-23 19:33:58 +02:00
|
|
|
</td>
|
2020-06-23 18:40:56 +02:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</body>
|
2018-10-11 17:37:39 +02:00
|
|
|
</html>
|