Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put email templates in /config in docker container #47

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ COPY --from=webappbuild /www/ /usr/local/tomee/webapps/ROOT/

# Copy the war file to the webapps directory
COPY --from=javabuild /app/build/libs/irma_email_issuer.war /usr/local/tomee/webapps/
COPY ./src/main/resources/email-en.html /config
COPY ./src/main/resources/email-nl.html /config

ENV IRMA_CONF="/config/"
EXPOSE 8080
Expand Down
23 changes: 12 additions & 11 deletions src/main/resources/email-en.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<!doctype html>
<html>
<head>
<title>Add e-mail address to Yivi app</title>
</head>

<body>
<div>
<p>Click the link to add the e-mail address to your Yivi app.</p>
<div>
<a href="%s">Add e-mail address to your Yivi app</a>
</div>
</div>
</body>
<head>
<title>Add e-mail address to Yivi app</title>
<meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
</head>

<body>
<p>Click the link to add the e-mail address to your Yivi app.</p>
<p>
<a href="%s">Add e-mail address to your Yivi app</a>
</p>
</body>

</html>
23 changes: 12 additions & 11 deletions src/main/resources/email-nl.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<!doctype html>
<html>
<head>
<title>Voeg e-mailadres toe aan Yivi-app</title>
</head>

<body>
<div>
<p>Klik op de link om het e-mailadres toe te voegen aan je Yivi-app.</p>
<div>
<a href="%s">Voeg e-mailadres toe aan je Yivi-app</a>
</div>
</div>
</body>
<head>
<title>Voeg e-mailadres toe aan Yivi-app</title>
<meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
</head>

<body>
<p>Klik op de link om het e-mailadres toe te voegen aan je Yivi-app.</p>
<p>
<a href="%s">Voeg e-mailadres toe aan je Yivi-app</a>
</p>
</body>

</html>
Loading