You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
watcha-synapse/synapse/res/templates/watcha_registration.html

117 lines
3.8 KiB

{# https://play.google.com/intl/en_us/badges/static/images/badges/fr_badge_web_generic.png -#}
{# https://tools.applemediaservices.com/api/badges/download-on-the-app-store/black/fr-FR -#}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>{{ title }}</title>
</head>
<body style="font-family: sans-serif; max-width: 600px; padding: 1em">
<p>Hi,</p>
<p>{{ sender_name | default("A collaborator", true) }} invites you to join the Watcha collaborative suite.</p>
<br />
<h3>Connection settings</h3>
<table
style="
width: 100%;
padding: 1em 1em 0 1em;
border: 1px solid black;
border-radius: 0.25rem;
border-spacing: 0;
"
width="100%"
cellpadding="10px"
>
<tbody>
<tr>
<td>
<b>Identifier</b>
</td>
</tr>
<tr>
<td style="padding-left: 2em">{{ identifier | safe }}</td>
</tr>
<tr>
<td>
<b>Password {% if not is_partner %}temporary {% endif %}</b>
</td>
</tr>
<tr>
<td style="padding-left: 2em">{{ password }}</td>
</tr>
<tr>
<td>
<b>Workspace</b>
</td>
</tr>
<tr>
<td style="padding-left: 2em">{{ workspace | safe }}</td>
</tr>
</tbody>
</table>
<br />
<br />
<h3>Connect from your browser, by accessing the platform</h3>
<p>
<a href="{{ login_url }}">
<img
src="data:image/png;base64,{{ b64_watcha_button }}"
alt="Se connecter à Watcha"
width="300"
/><br />{{ login_url }}</a
>
</p>
<br />
<h3>Connect from your mobile</h3>
<p>
<a href="
{%- if is_partner -%}
https://play.google.com/store/apps/details?id=im.vector.app
{%- else -%}
https://play.google.com/store/apps/details?id=im.watcha.app
{%- endif -%}
">
<img
src="data:image/png;base64,{{ b64_google_play_badge }}"
alt="Download the Android application on Google Play"
width="300"
/><br />
{%- if is_partner -%}
https://play.google.com/store/apps/details?id=im.vector.app
{%- else -%}
https://play.google.com/store/apps/details?id=im.watcha.app
{%- endif -%}
</a>
</p>
<p>
<a href="
{%- if is_partner -%}
https://apps.apple.com/fr/app/element-messenger/id1083446067
{%- else -%}
https://apps.apple.com/fr/app/watcha/id1383732254
{%- endif -%}
">
<img
src="data:image/png;base64,{{ b64_app_store_badge }}"
alt="Download the iOS application on the Apple Store"
width="300"
/><br />
{%- if is_partner -%}
https://apps.apple.com/fr/app/element-messenger/id1083446067
{%- else -%}
https://apps.apple.com/fr/app/watcha/id1383732254
{%- endif -%}
</a>
</p>
</body>
</html>