cleanup email footer

This commit is contained in:
wvengen 2014-03-05 12:10:27 +01:00
parent c25d4d3f4f
commit fe0b17cdb0
5 changed files with 20 additions and 21 deletions

View file

@ -1,3 +1,6 @@
= yield = yield
\ \
= t '.footer', foodsoft: root_url, foodcoop: FoodsoftConfig[:homepage], help: FoodsoftConfig[:help_url] = 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]

View file

@ -847,11 +847,10 @@ de:
confirm_change: Änderungen an dieser Bestellung gehen verloren, wenn zu einer anderen Bestellung gewechselt wird. Möchtest Du trotzdem wechseln? confirm_change: Änderungen an dieser Bestellung gehen verloren, wenn zu einer anderen Bestellung gewechselt wird. Möchtest Du trotzdem wechseln?
layouts: layouts:
email: email:
footer: | footer_1_separator: '--'
-- footer_2_foodsoft: 'Foodsoft: %{url}'
Foodsoft: %{foodsoft} footer_3_homepage: 'Foodcoop: %{url}'
Foodcoop-Homepage: %{foodcoop} footer_4_help: 'Hilfe: %{url}'
Hilfe: %{help}
foodsoft: Foodsoft foodsoft: Foodsoft
header: header:
feedback: feedback:

View file

@ -850,11 +850,10 @@ en:
confirm_change: Modifications to this order will be lost when you change the order. Do you want to lose the changes you made and continue? confirm_change: Modifications to this order will be lost when you change the order. Do you want to lose the changes you made and continue?
layouts: layouts:
email: email:
footer: | footer_1_separator: '--'
-- footer_2_foodsoft: 'Foodsoft: %{url}'
Foodsoft: %{foodsoft} footer_3_homepage: 'Foodcoop: %{url}'
Foodcoop-Homepage: %{foodcoop} footer_4_help: 'Help: %{url}'
Help: %{help}
foodsoft: Foodsoft foodsoft: Foodsoft
header: header:
feedback: feedback:

View file

@ -861,11 +861,10 @@ fr:
confirm_change: confirm_change:
layouts: layouts:
email: email:
footer: |- footer_1_separator: '--'
-- footer_2_foodsoft: 'Foodsoft: %{url}'
Foodsoft: %{foodsoft} footer_3_homepage: 'Boufcoop: %{url}'
Accueil de la Boufcoop: %{foodcoop} footer_4_help: 'Aide: %{url}'
Aide: %{help}
foodsoft: Foodsoft foodsoft: Foodsoft
header: header:
feedback: feedback:

View file

@ -849,11 +849,10 @@ nl:
confirm_change: Als je naar een andere bestelling gaat, gaan je aanpassingen in deze bestelling verloren. Wijzigingen vergeten en naar de andere bestelling gaan? confirm_change: Als je naar een andere bestelling gaat, gaan je aanpassingen in deze bestelling verloren. Wijzigingen vergeten en naar de andere bestelling gaan?
layouts: layouts:
email: email:
footer: |- footer_1_separator: '--'
-- footer_2_foodsoft: 'Foodsoft: %{url}'
Foodsoft: %{foodsoft} footer_3_homepage: 'Foodcoop: %{url}'
Foodcoop-Homepage: %{foodcoop} footer_4_help: 'Help: %{url}'
Help: %{help}
foodsoft: Foodsoft foodsoft: Foodsoft
header: header:
feedback: feedback: