aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/UserInfo.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/UserInfo.js')
-rw-r--r--vnext/src/components/UserInfo.js44
1 files changed, 15 insertions, 29 deletions
diff --git a/vnext/src/components/UserInfo.js b/vnext/src/components/UserInfo.js
index c962add9..3c4ffab3 100644
--- a/vnext/src/components/UserInfo.js
+++ b/vnext/src/components/UserInfo.js
@@ -40,38 +40,24 @@ export default class UserInfo extends React.Component {
{
user.uid > 0 &&
<>
- <ul>
- <li>
- <Link to="/pm">
- <Icon name="ei-envelope" size="s" />PM
+ <Link to="/pm">
+ <Icon name="ei-envelope" size="s" />PM
</Link>
- </li>
- <li>
- <Link to={`/${user.uname}/?show=recomm`} rel="nofollow">
- <Icon name="ei-heart" size="s" />Recommendations
+ <Link to={`/${user.uname}/?show=recomm`} rel="nofollow">
+ <Icon name="ei-heart" size="s" />Recommendations
</Link>
- </li>
- <li>
- <Link to={`/${user.uname}/?media=1`} rel="nofollow">
- <Icon name="ei-camera" size="s" />Photos
+ <Link to={`/${user.uname}/?media=1`} rel="nofollow">
+ <Icon name="ei-camera" size="s" />Photos
</Link>
- </li>
- </ul>
- <div id="ustats">
- <ul>
- {
- user.read &&
- <li><Link to={`/${user.uname}/friends`}>I read: {user.read.length}</Link></li>
- }
- <li><Link to={`/${user.uname}/readers`}>My readers: {user.readers ? user.readers.length : 0}</Link></li>
- {
- user.statsMyBL &&
- <li><Link to={`/${user.uname}/bl`}>My blacklist: {user.statsMyBL}</Link></li>
- }
- <li>Messages: {user.statsMessages}</li>
- <li>Comments: {user.statsReplies}</li>
- </ul>
- </div>
+ {
+ user.read &&
+ <Link to={`/${user.uname}/friends`}>I read: {user.read.length}</Link>
+ }
+ <Link to={`/${user.uname}/readers`}>My readers: {user.readers ? user.readers.length : 0}</Link>
+ {
+ user.statsMyBL &&
+ <Link to={`/${user.uname}/bl`}>My blacklist: {user.statsMyBL}</Link>
+ }
</>
}
</div>