custom_announcement/app/views/custom_announcements/email.html.erb

19 lines
706 B
Plaintext
Raw Permalink Normal View History

2021-06-17 10:52:39 +00:00
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
</head>
<body bgcolor="#FFFFFF">
<div style="text-ident:20px"></div>
<%= t('custom_announcement.mail_hi') %> <br /><br />
<%= t('custom_announcement.mail_url_view') %> <br /><br />
<a href="<%= @data["url"] %>" target="_blank"> <%= @data["title"] %> </a> <br /><br />
<span style="color:#555">--<br />
<%= t('custom_announcement.mail_source') %> <a href="http://<%= @data["host"] %>" target="_blank"> <%= Site.first.title %> </a><br />
<%= t('custom_announcement.mail_time') %> <%= DateTime.now.strftime('%Y/%m/%d %H:%M:%S') %>
</span>
</body>
</html>