Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions app/views/home/_notifications.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
<% notification_for_user = User.find_by_user_name notification.user_name %>
<li>
<% if notification_for_user.nil? %>
<%= "#{notification.user_name} at #{notification.created_at.strftime('%Y/%m/%d')}. This username does not currently exist in the system. #{link_to("[hide]", hide_password_recovery_request_path(notification), :method => :delete) }".html_safe %>
<%= "#{notification.user_name}" %>
<%= " at #{notification.created_at.strftime('%Y/%m/%d')}. This username does not currently exist in the system. #{link_to("[hide]", hide_password_recovery_request_path(notification), :method => :delete) }".html_safe %>
<% else %>
<%= "#{link_to notification.user_name, user_path(notification_for_user)} at #{notification.created_at.strftime('%Y/%m/%d')}. #{link_to("hide", hide_password_recovery_request_path(notification), :method => :delete)}".html_safe %>
<% end %>
</li>
<% end %>
</ul>
<% end %>
<% end %>
<% end %>