add comment links in the last comments list
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
.comment__username {
|
||||
color: #777;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
|
||||
&:link {
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -201,7 +201,17 @@ export default class Comment extends Component {
|
||||
|
||||
<div className="comment__content">
|
||||
<div className="comment__info">
|
||||
<span className="comment__username">{o.user.name}</span>
|
||||
{
|
||||
mods.view !== 'preview' && (
|
||||
<span className="comment__username">{o.user.name}</span>
|
||||
)
|
||||
}
|
||||
|
||||
{
|
||||
mods.view === 'preview' && (
|
||||
<a href={`${o.locator.url}#remark__comment-${o.id}`} className="comment__username">{o.user.name}</a>
|
||||
)
|
||||
}
|
||||
|
||||
{
|
||||
!isGuest && (
|
||||
|
||||
Reference in New Issue
Block a user