mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 23:15:34 +08:00
f93cc89624
Closes SCI-964.
23 lines
659 B
Text
23 lines
659 B
Text
<p>Hello <%= @user.name %>!</p>
|
|
|
|
<p><%= I18n.t("notifications.email_title") %></p>
|
|
|
|
<p>Type: <%= I18n.t("notifications.types.#{@notification.type_of}") %></p>
|
|
|
|
<p>
|
|
<% if @notification.system_message? %>
|
|
<% # We assume the system notification is clean %>
|
|
<%= @notification.title.html_safe %>
|
|
<% else %>
|
|
<%= sanitize_input(prepend_server_url_to_links(@notification.title)) %>
|
|
<% end %>
|
|
</p>
|
|
|
|
<p>
|
|
<% if @notification.system_message? %>
|
|
<% # We assume the system notification is clean %>
|
|
<%= @notification.message.html_safe %>
|
|
<% else %>
|
|
<%= sanitize_input(prepend_server_url_to_links(@notification.message)) %>
|
|
<% end %>
|
|
</p>
|