makes author name a link to activity page

in debates/proposals/comments
This commit is contained in:
Juanjo Bazán
2015-11-04 14:09:16 +01:00
parent 3465b00e89
commit 2671b25ba6
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@
<% if comment.user.hidden? || comment.user.erased? %>
<span class="user-name"><%= t("comments.comment.user_deleted") %></span>
<% else %>
<span class="user-name"><%= comment.user.name %></span>
<span class="user-name"><%= link_to comment.user.name, user_path(comment.user) %></span>
<% if comment.user.official? %>
&nbsp;&bull;&nbsp;
<span class="label round level-<%= comment.user.official_level %>">