add html email layout and adjust translations for urls
This commit is contained in:
parent
32c765d2aa
commit
14f2d5ca32
13 changed files with 52 additions and 18 deletions
12
app/views/layouts/email.html.haml
Normal file
12
app/views/layouts/email.html.haml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
= yield
|
||||
\
|
||||
%hr
|
||||
%ul
|
||||
%li
|
||||
%a{href: root_url} Foodsoft
|
||||
- if FoodsoftConfig[:homepage]
|
||||
%li
|
||||
%a{href: FoodsoftConfig[:homepage]} Foodcoop
|
||||
- if FoodsoftConfig[:help_url]
|
||||
%li
|
||||
%a{href: FoodsoftConfig[:help_url]}= t '.help'
|
||||
|
|
@ -3,4 +3,4 @@
|
|||
= t '.footer_1_separator'
|
||||
= t '.footer_2_foodsoft', url: root_url
|
||||
= t '.footer_3_homepage', url: FoodsoftConfig[:homepage] if FoodsoftConfig[:homepage]
|
||||
= t '.footer_4_help', url: FoodsoftConfig[:help_url] if FoodsoftConfig[:help_url]
|
||||
= t '.footer_4_help', url: FoodsoftConfig[:help_url] if FoodsoftConfig[:help_url]
|
||||
Loading…
Add table
Add a link
Reference in a new issue