diff --git a/app/assets/stylesheets/specific/users.css.scss b/app/assets/stylesheets/specific/users.css.scss index 11c85bf97..b6d2e1dfb 100644 --- a/app/assets/stylesheets/specific/users.css.scss +++ b/app/assets/stylesheets/specific/users.css.scss @@ -20,16 +20,25 @@ div#c-users { clear: both; } - dl { - dt { - width: 12em; - float: left; - clear: left; - margin-right: .75em; + table.user-statistics { + tr { + height: 1.75em; } - dt:after { - content: ':'; + th { + width: 15%; + text-align: right; + padding-right: 1em; + vertical-align: top; + } + + td { + width: 85%; + vertical-align: top; + } + + p { + margin-bottom: 0.5em; } } } diff --git a/app/views/users/_post_summary.html.erb b/app/views/users/_post_summary.html.erb index 3c670d8d1..14c366b70 100644 --- a/app/views/users/_post_summary.html.erb +++ b/app/views/users/_post_summary.html.erb @@ -24,22 +24,16 @@ <% end %> -
| Join Date | +<%= presenter.join_date %> | +
|---|---|
| Inviter | +<%= presenter.inviter(self) %> | +
| Level | +<%= presenter.level %> | +
| Ban reason | +<%= presenter.ban_reason %> | +
| Upload Limit | +<%= presenter.upload_limit %> | +
| Uploads | +<%= presenter.upload_count(self) %> | +
| Deleted Uploads | +<%= presenter.deleted_upload_count(self) %> | +
| Favorites | +<%= presenter.favorite_count(self) %> | +
| Post Changes | +<%= presenter.post_version_count(self) %> | +
| Note Changes | +<%= presenter.note_version_count(self) %> | +
| Wiki Page Changes | +<%= presenter.wiki_page_version_count(self) %> | +
| Pool Changes | +<%= presenter.pool_version_count(self) %> | +
| Forum Posts | +<%= presenter.forum_post_count(self) %> | +
| Approvals | +<%= presenter.approval_count(self) %> | +
| Comments | +<%= presenter.comment_count(self) %> | +
| Feedback | +<%= presenter.feedbacks(self) %> |
| Subscriptions | +
+ <% presenter.subscriptions.each do |subscription| %>
+ + <%= link_to subscription.pretty_name, posts_path(:tags => "sub:#{user.name}:#{subscription.name}") %> + – + <%= presenter.tag_links_for_subscription(self, subscription) %> + + <% end %> + |
+