Show previous usernames to members; link to actual change requests.

This commit is contained in:
evazion
2017-01-11 13:07:39 -06:00
parent 87bcc07fae
commit 1f325c19da
4 changed files with 15 additions and 4 deletions

View File

@@ -138,10 +138,10 @@
</td>
</tr>
<% if CurrentUser.is_moderator? && presenter.previous_names.present? %>
<% if presenter.previous_names(self).present? %>
<tr>
<th>Previous Names</th>
<td><%= presenter.previous_names %></td>
<td><%= presenter.previous_names(self) %></td>
</tr>
<% end %>