Merge pull request #2917 from DeanMarkTaylor/patch-1
UX: Improve username readability in search results
This commit is contained in:
commit
388e3b01ba
|
@ -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 %>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<% @topic_view.posts.each do |post| %>
|
||||
<% if post.user %>
|
||||
<div class='creator'>
|
||||
<b><%= post.user.username_lower %></b>
|
||||
<b><%= post.user.username %></b>
|
||||
<%= "(#{post.user.name})" if SiteSetting.display_name_on_posts %> —
|
||||
<%= post.created_at.to_formatted_s(:iso8601) %> —
|
||||
#<%= post.post_number %>
|
||||
|
|
Loading…
Reference in New Issue