mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:06:57 +08:00
BUGFIX: show usernames logic, logic failure
This commit is contained in:
parent
832a730e36
commit
8bc8052ab8
|
@ -24,7 +24,7 @@ var PosterNameComponent = Em.Component.extend({
|
|||
buffer.push("</span>");
|
||||
|
||||
// Are we showing full names?
|
||||
if (name && (name === username) && this.get('displayNameOnPosts')) {
|
||||
if (name && (name !== username) && this.get('displayNameOnPosts')) {
|
||||
buffer.push("<span class='full-name'><a href='#'>" + name + "</a></span>");
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
}
|
||||
span {
|
||||
font-size: 13px;
|
||||
padding-right: 4px;
|
||||
padding-right: 8px;
|
||||
a {
|
||||
color: scale-color($primary, $lightness: 30%);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user