♻️(email) use full name instead of email

If the full name is available,
we will use it to identify the user in the email
instead of the email address.
This commit is contained in:
Anthony LC
2024-10-15 15:53:18 +02:00
committed by Anthony LC
parent 97d00b678f
commit 24630791d8
12 changed files with 275 additions and 185 deletions

View File

@@ -24,14 +24,14 @@
<mj-text align="center">
<h1>
{% blocktrans %}
{{username}} shared a document with you !
{{sender_name}} shared a document with you !
{% endblocktrans %}
</h1>
</mj-text>
<!-- Main Message -->
<mj-text>
{% blocktrans %}
{{username}} invited you as an {{role}} on the following document :
{{sender_name_email}} invited you with the role "{{role}}" on the following document :
{% endblocktrans %}
<a href="{{link}}">{{document.title}}</a>
</mj-text>
@@ -52,7 +52,7 @@
/>
<mj-text>
{% blocktrans %}
Docs, your new essential tool for organizing, sharing and collaborate on your documents as a team.
Docs, your new essential tool for organizing, sharing and collaborating on your documents as a team.
{% endblocktrans %}
</mj-text>
<!-- Signature -->

View File

@@ -32,8 +32,7 @@
/* Global styles */
h1 {
color: #161616;
font-size: 1.5rem;
line-height: 1em;
font-size: 1.4rem;
font-weight: 700;
}