security_notification.html.erb
13 lines
| 426 B
| text/plain
|
TextLexer
|
r14763 | <p><%= @message %><br /> | ||
<% if @url && @title -%> | ||||
<%= link_to @title, @url -%> | ||||
<% elsif @url -%> | ||||
<%= link_to @url -%> | ||||
<% elsif @title -%> | ||||
<%= content_tag :h1, @title -%> | ||||
<% end %></p> | ||||
<p><%= l(:field_user) %>: <strong><%= User.current.login %></strong><br/> | ||||
<%= l(:field_remote_ip) %>: <strong><%= User.current.remote_ip %></strong><br/> | ||||
<%= l(:label_date) %>: <strong><%= format_time Time.now, true, @user %></strong></p> | ||||