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.
This commit is contained in:
parent
4ad84c4a2c
commit
715b81ea88
|
@ -11,7 +11,7 @@
|
|||
<% @topic_view.posts.each do |post| %>
|
||||
<% if post.user %>
|
||||
<div class='creator'>
|
||||
<b><%= post.user.username_lower %></b> <%= "(#{post.user.name})" if SiteSetting.display_name_on_posts %> at <%= post.created_at.to_formatted_s(:long_ordinal) %> — #<%= post.post_number %>
|
||||
<b><%= post.user.username %></b> <%= "(#{post.user.name})" if SiteSetting.display_name_on_posts %> at <%= post.created_at.to_formatted_s(:long_ordinal) %> — #<%= post.post_number %>
|
||||
</div>
|
||||
<div class='post'>
|
||||
<% if post.hidden %>
|
||||
|
|
Loading…
Reference in New Issue