diff --git a/app/presenters/user_presenter.rb b/app/presenters/user_presenter.rb index 204c34356..7eab088a3 100644 --- a/app/presenters/user_presenter.rb +++ b/app/presenters/user_presenter.rb @@ -95,6 +95,10 @@ class UserPresenter template.link_to(WikiPageVersion.for_user(user.id).count, template.wiki_page_versions_path(:search => {:updater_id => user.id})) end + def artist_version_count(template) + template.link_to(ArtistVersion.for_user(user.id).count, template.artist_versions_path(:search => {:updater_id => user.id})) + end + def forum_post_count(template) template.link_to(ForumPost.for_user(user.id).count, template.forum_posts_path(:search => {:creator_id => user.id})) end diff --git a/app/views/users/_statistics.html.erb b/app/views/users/_statistics.html.erb index 3c94edafc..5f7bbce5b 100644 --- a/app/views/users/_statistics.html.erb +++ b/app/views/users/_statistics.html.erb @@ -59,6 +59,11 @@ <%= presenter.wiki_page_version_count(self) %> + + Artist Changes + <%= presenter.artist_version_count(self) %> + + Pool Changes <%= presenter.pool_version_count(self) %>