Merge pull request #2917 from DeanMarkTaylor/patch-1

UX: Improve username readability in search results
This commit is contained in:
Sam 2014-10-27 08:22:53 +11:00
commit 388e3b01ba
2 changed files with 2 additions and 2 deletions

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

View File

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