forked from shibao/cannery
add swoosh and oban
This commit is contained in:
16
lib/cannery_web/templates/layout/email.html.heex
Normal file
16
lib/cannery_web/templates/layout/email.html.heex
Normal file
@ -0,0 +1,16 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
<%= @email.subject %>
|
||||
</title>
|
||||
</head>
|
||||
<body>
|
||||
<%= @inner_content %>
|
||||
|
||||
<hr style="border-width: 1px; border-color: rgb(212, 212, 216); width: 100%; max-width: 42rem;">
|
||||
|
||||
<a href={Routes.live_url(Endpoint, HomeLive)}>
|
||||
<%= dgettext("emails", "This email was sent from %{name}", name: "Cannery") %>
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
13
lib/cannery_web/templates/layout/email.txt.eex
Normal file
13
lib/cannery_web/templates/layout/email.txt.eex
Normal file
@ -0,0 +1,13 @@
|
||||
<%= @email.subject %>
|
||||
|
||||
|
||||
====================
|
||||
|
||||
<%= @inner_content %>
|
||||
|
||||
=====================
|
||||
|
||||
<%= dgettext("emails",
|
||||
"This email was sent from %{name} at %{url}",
|
||||
name: "Cannery",
|
||||
url: Routes.live_url(Endpoint, HomeLive)) %>
|
Reference in New Issue
Block a user