Commit 5031631b authored by Luna Lucadou's avatar Luna Lucadou

Fixed HTML tags not being rendered as HTML

parent ecbd9d2c
Pipeline #111277451 skipped with stage
......@@ -38,8 +38,8 @@
<% end -%>
</li>
<li><b>Bans Received:</b> <%= @user.bans_received %></li>
<li><b>Most Recent Login:</b> <%= "#{ApplicationHelper.datetime_to_str(@user.current_sign_in_at, show_offset: true)} (from <code>#{@user.current_sign_in_ip}</code>)" if @user.current_sign_in_at %></li>
<li><b>Previous Login:</b> <%= "#{ApplicationHelper.datetime_to_str(@user.last_sign_in_at, show_offset: true)} (from <code>#{@user.last_sign_in_ip}</code>)" if @user.last_sign_in_at %></li>
<li><b>Most Recent Login:</b> <%= "#{ApplicationHelper.datetime_to_str(@user.current_sign_in_at, show_offset: true)} (from <code>#{@user.current_sign_in_ip}</code>)".html_safe if @user.current_sign_in_at %></li>
<li><b>Previous Login:</b> <%= "#{ApplicationHelper.datetime_to_str(@user.last_sign_in_at, show_offset: true)} (from <code>#{@user.last_sign_in_ip}</code>)".html_safe if @user.last_sign_in_at %></li>
<li><b>EULA Accepted On:</b> <%= if @user.eula_accepted_at then ApplicationHelper.datetime_to_str(@user.eula_accepted_at, show_offset: true) else "Not accepted" end %></li>
<li><b>Joined On:</b> <%= ApplicationHelper.datetime_to_str(@user.created_at, show_offset: true) %></li>
</ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment