fixes #1330
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -59,6 +59,11 @@
|
||||
<td><%= presenter.wiki_page_version_count(self) %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Artist Changes</th>
|
||||
<td><%= presenter.artist_version_count(self) %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Pool Changes</th>
|
||||
<td><%= presenter.pool_version_count(self) %></td>
|
||||
|
||||
Reference in New Issue
Block a user