From 715b81ea8831dbf883ff970854b011ead3c35b14 Mon Sep 17 00:00:00 2001 From: Dean Taylor Date: Sat, 25 Oct 2014 16:52:04 +0100 Subject: [PATCH] UX: Improve username readability in search results Avoid lower-case usernames in search results output to improve readability and accuracy - avoid users reading words that don't exist. --- app/views/topics/plain.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/topics/plain.html.erb b/app/views/topics/plain.html.erb index 93e94d2f093..7c852a3b691 100644 --- a/app/views/topics/plain.html.erb +++ b/app/views/topics/plain.html.erb @@ -11,7 +11,7 @@ <% @topic_view.posts.each do |post| %> <% if post.user %>
- <%= post.user.username_lower %> <%= "(#{post.user.name})" if SiteSetting.display_name_on_posts %> at <%= post.created_at.to_formatted_s(:long_ordinal) %> — #<%= post.post_number %> + <%= post.user.username %> <%= "(#{post.user.name})" if SiteSetting.display_name_on_posts %> at <%= post.created_at.to_formatted_s(:long_ordinal) %> — #<%= post.post_number %>
<% if post.hidden %>