Changes notification mails to use html with styled link buttons

This commit is contained in:
Benjamin Barth committed 2016-07-18 16:17:44 +02:00
1 parent 133fcdaa58
commit 23615ef97f
5 files changed
+192 -88

No files matched your search

@@ -0,0 +1,27 @@
<!doctype html>
<html>
<head>
<title>${title}</title>
<style type="text/css">
.linkButton, .linkButton:active, .linkButton:visited {
padding: 15px;
margin: 10px;
width: 200px;
display: inline-block;
background-color: #337ab7;
border-radius: 4px;
color: #ffffff;
border: 1px solid #2e6da4;
text-decoration: none;
}
.linkButton:hover {
background-color: #2b618e;
border: 1px solid #204d74;
}
</style>
</head>
<body>
${body}
</body>
</html>
@@ -2,23 +2,29 @@ raceInRegattaOfEvent=race {0} in regatta {1} of event {2}
raceInFleetInRegattaOfEvent={0} ({3}) in regatta {1} of event {2}
leaderboardOfEvent=leaderboard {0} of event {1}
leaderboardShowResultsLinkTitle=Show results
racesOverviewLinkTitle=Show races overview
raceboardShowRaceLinkTitle=Show race
raceboardRaceAnalysisLinkTitle=Show race analysis
boatClassRaceFinishedSubject=Race for boat class {0} has finished - new results available
# 0: boatClassName, 1: raceDescription, 2: link
boatClassRaceFinishedBody=New results for boat class {0} in {1} are available. See: {2}
# 0: boatClassName, 1: raceDescription
boatClassRaceFinishedBody=New results for boat class {0} in {1} are available.
boatClassScoreCorrectionSubject=New results are available for boat class {0}
# 0: boatClassName, 1: leaderboardDescription, 2: link
boatClassScoreCorrectionBody=New results for boat class {0} in {1} are available. See: {2}
# 0: boatClassName, 1: leaderboardDescription
boatClassScoreCorrectionBody=New results for boat class {0} in {1} are available.
competitorPassesFinishSubject=Competitor {0} passed finish line in a race
# 0: competitorName, 1: raceDescription, 2: link
competitorPassesFinishBody=Competitor {0} passed finish line in {1}. See: {2}
# 0: competitorName, 1: raceDescription
competitorPassesFinishBody=Competitor {0} passed finish line in {1}.
competitorScoreCorrectionSubject=New results are available for competitor {0}
# 0: competitorName, 1: leaderboardDescription, 2: link
competitorScoreCorrectionBody=New results for competitor {0} in {1} are available. See: {2}
# 0: competitorName, 1: leaderboardDescription
competitorScoreCorrectionBody=New results for competitor {0} in {1} are available.
boatClassUpcomingRaceSubject=A race for boat class {0} will start soon
# 0: boatClassName, 1: raceDescription, 2: time, 3: link
boatClassUpcomingRaceBody=A race for boat class {0} in {1} will start approximately at {2}. See: {3}
# 0: boatClassName, 1: raceDescription, 2: time
boatClassUpcomingRaceBody=A race for boat class {0} in {1} will start approximately at {2}.