Add noteupdater:, update user profile links

fixes #1827, fixes #1397
This commit is contained in:
Toks
2013-12-07 22:06:20 -05:00
parent 81aa294b38
commit 468c0c7b63
4 changed files with 17 additions and 13 deletions

View File

@@ -51,11 +51,7 @@
<tr>
<th>Note Changes</th>
<td><%= presenter.note_version_count(self) %>
<% if CurrentUser.user.id == user.id %>
in <%= presenter.noted_posts_count(self) %> posts
<% end %>
</td>
<td><%= presenter.note_version_count(self) %> in <%= presenter.noted_posts_count(self) %> posts</td>
</tr>
<tr>
@@ -90,11 +86,7 @@
<tr>
<th>Comments</th>
<td><%= presenter.comment_count(self) %>
<% if CurrentUser.user.id == user.id %>
in <%= presenter.commented_posts_count(self) %> posts
<% end %>
</td>
<td><%= presenter.comment_count(self) %> in <%= presenter.commented_posts_count(self) %> posts</td>
</tr>
<% if CurrentUser.user.id == user.id || CurrentUser.user.is_janitor? %>