Skip to content

Commit

Permalink
Use email address in place of names when first name isn't present for…
Browse files Browse the repository at this point in the history
… activity listing
  • Loading branch information
sgrove committed Apr 11, 2012
1 parent 99e84b9 commit 5886f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/templates/message.jst.eco
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<div class="readable">
<span class="user">
<%= @activity.user.first_name %>
<%= @activity.user.first_name != null ? @activity.user.first_name : @activity.user.email %>
</span>

<span class="content">
Expand Down

0 comments on commit 5886f62

Please sign in to comment.