Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-mlc
kohinos
Commits
49789599
Commit
49789599
authored
Jan 29, 2021
by
Mathieu Poisbeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#478: add the 'footer' translation slug for the email layout
parent
29d563d1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
admin_add_adherent.html.twig
templates/email/admin_add_adherent.html.twig
+4
-4
email_layout.html.twig
templates/email/email_layout.html.twig
+6
-8
mails.fr.yaml
translations/mails.fr.yaml
+2
-0
No files found.
templates/email/admin_add_adherent.html.twig
View file @
49789599
...
...
@@ -10,12 +10,12 @@
{{
'add_adherent.title'
|
trans
(
{}
,
'mails'
)
|
raw
}}
</h2>
<
p
>
{{
'add_adherent.welcome'
|
trans
(
{}
,
'mails'
)
|
raw
}}
</
p
>
<
div
style=
"margin-bottom: 15px;"
>
{{
'add_adherent.welcome'
|
trans
(
{}
,
'mails'
)
|
raw
}}
</
div
>
<p>
{{
'add_adherent.confirm'
|
trans
(
{}
,
'mails'
)
|
raw
}}
{{
'add_adherent.confirm'
|
trans
(
{}
,
'mails'
)
|
raw
}}
<br/>
<a
href=
'
{{
confirmationUrl
}}
'
>
{{
confirmationUrl
}}
</a>
</p>
...
...
templates/email/email_layout.html.twig
View file @
49789599
...
...
@@ -20,7 +20,7 @@
<!-- content -->
<div
style=
"display: block; margin: 0 auto; max-width: 600px;"
>
<table
style=
"width: 100%;"
>
<tr>
<td>
{%
block
main
%}
...
...
@@ -30,21 +30,19 @@
</h2>
{%
endblock
title
%}
<br/>
{%
block
content
%}
{%
endblock
content
%}
{%
block
content
%}{%
endblock
content
%}
{%
block
footer
%}
<p>
{{
KOH_MLC_NAME
}}
</p>
{{
'footer'
|
trans
(
{}
,
'mails'
)
|
raw
}}
{%
endblock
footer
%}
{%
endblock
main
%}
</td>
</tr>
</table>
</div>
<!-- /content -->
</td>
<td></td>
</tr>
...
...
translations/mails.fr.yaml
View file @
49789599
footer
:
'
'
add_adherent
:
title
:
Valider la création de votre compte
welcome
:
Un administreur a créé votre nouveau compte MLC
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment