diff --git a/TODO b/TODO index 4e4909d0..23d6a2d1 100644 --- a/TODO +++ b/TODO @@ -30,9 +30,6 @@ everything related to posts: (move post snapshot factory methods to PostService) everything related to users: - - show link to user's uploads - - show link to user's favs - - show link to user's liked posts - better avatar loading everything related to tags: diff --git a/public_html/css/user.css b/public_html/css/user.css index bf9f049c..42cd2f96 100644 --- a/public_html/css/user.css +++ b/public_html/css/user.css @@ -22,6 +22,16 @@ padding: 0; } +#user-view ul.links { + list-style-type: disc; + list-style-position: inside; + white-space: nowrap; +} +#user-view ul.links li a { + padding-left: 0; + margin-left: 0; +} + #user-view ul a { cursor: pointer; display: inline-block; @@ -44,4 +54,5 @@ } #user-view .tab.basic-info td { padding: 0.2em 0.5em; + vertical-align: top; } diff --git a/public_html/js/Presenters/UserPresenter.js b/public_html/js/Presenters/UserPresenter.js index 738bef44..a2eda267 100644 --- a/public_html/js/Presenters/UserPresenter.js +++ b/public_html/js/Presenters/UserPresenter.js @@ -67,6 +67,7 @@ App.Presenters.UserPresenter = function( function render() { $el.html(template({ user: user, + isLoggedIn: auth.isLoggedIn(user.name), formatRelativeTime: util.formatRelativeTime, canChangeBrowsingSettings: userBrowsingSettingsPresenter.getPrivileges().canChangeBrowsingSettings, canChangeAccountSettings: _.any(userAccountSettingsPresenter.getPrivileges()), diff --git a/public_html/templates/user.tpl b/public_html/templates/user.tpl index 434bc51b..4f98a55a 100644 --- a/public_html/templates/user.tpl +++ b/public_html/templates/user.tpl @@ -58,6 +58,39 @@ Seen: <%= formatRelativeTime(user.lastLoginTime) %> + + + Quick links: + + + +