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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
admin_add_adherent.html.twig
templates/email/admin_add_adherent.html.twig
+2
-2
email_layout.html.twig
templates/email/email_layout.html.twig
+2
-4
mails.fr.yaml
translations/mails.fr.yaml
+2
-0
No files found.
templates/email/admin_add_adherent.html.twig
View file @
49789599
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
{{
'add_adherent.title'
|
trans
(
{}
,
'mails'
)
|
raw
}}
{{
'add_adherent.title'
|
trans
(
{}
,
'mails'
)
|
raw
}}
</h2>
</h2>
<
p
>
<
div
style=
"margin-bottom: 15px;"
>
{{
'add_adherent.welcome'
|
trans
(
{}
,
'mails'
)
|
raw
}}
{{
'add_adherent.welcome'
|
trans
(
{}
,
'mails'
)
|
raw
}}
</
p
>
</
div
>
<p>
<p>
{{
'add_adherent.confirm'
|
trans
(
{}
,
'mails'
)
|
raw
}}
{{
'add_adherent.confirm'
|
trans
(
{}
,
'mails'
)
|
raw
}}
...
...
templates/email/email_layout.html.twig
View file @
49789599
...
@@ -30,12 +30,10 @@
...
@@ -30,12 +30,10 @@
</h2>
</h2>
{%
endblock
title
%}
{%
endblock
title
%}
<br/>
<br/>
{%
block
content
%}
{%
block
content
%}{%
endblock
content
%}
{%
endblock
content
%}
{%
block
footer
%}
{%
block
footer
%}
<p>
{{
KOH_MLC_NAME
}}
</p>
{{
'footer'
|
trans
(
{}
,
'mails'
)
|
raw
}}
{%
endblock
footer
%}
{%
endblock
footer
%}
{%
endblock
main
%}
{%
endblock
main
%}
</td>
</td>
...
...
translations/mails.fr.yaml
View file @
49789599
footer
:
'
'
add_adherent
:
add_adherent
:
title
:
Valider la création de votre compte
title
:
Valider la création de votre compte
welcome
:
Un administreur a créé votre nouveau compte MLC
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