mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
Moves the plugin directory and associated files, along with updating various import references.
17 lines
479 B
Plaintext
17 lines
479 B
Plaintext
import userPrioritizedName from "discourse/helpers/user-prioritized-name";
|
|
import { userPath } from "discourse/lib/url";
|
|
import dAvatar from "discourse/ui-kit/helpers/d-avatar";
|
|
|
|
const User = <template>
|
|
<a href={{userPath @user.username}} data-user-card={{@user.username}}>
|
|
<span class="user">
|
|
{{dAvatar @user imageSize="medium"}}
|
|
<span class="username">
|
|
{{userPrioritizedName @user}}
|
|
</span>
|
|
</span>
|
|
</a>
|
|
</template>;
|
|
|
|
export default User;
|