mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
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
1e13cfe8ce
commit
4ad84c4a2c
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
<% @topic_view.posts.each do |post| %>
|
<% @topic_view.posts.each do |post| %>
|
||||||
<% if post.user %>
|
<% if post.user %>
|
||||||
<div class='creator'>
|
<div class='creator'>
|
||||||
<b><%= post.user.username_lower %></b>
|
<b><%= post.user.username %></b>
|
||||||
<%= "(#{post.user.name})" if SiteSetting.display_name_on_posts %> —
|
<%= "(#{post.user.name})" if SiteSetting.display_name_on_posts %> —
|
||||||
<%= post.created_at.to_formatted_s(:iso8601) %> —
|
<%= post.created_at.to_formatted_s(:iso8601) %> —
|
||||||
#<%= post.post_number %>
|
#<%= post.post_number %>
|
||||||
|
|
Loading…
Reference in a new issue