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:
Dean Taylor 2014-10-25 16:52:04 +01:00
parent 4ad84c4a2c
commit 715b81ea88

View file

@ -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 %>