"edited by e-mail" doesn't make much sense

This commit is contained in:
joshua stein 2014-02-03 14:37:31 -06:00
parent 9d1a1bdcf9
commit 49a116a12e

View file

@ -36,10 +36,13 @@ class="comment <%= comment.current_vote ? (comment.current_vote[:vote] == 1 ?
<% end %>
><%= comment.user.username %></a>
<%= comment.has_been_edited?? "edited" : "" %>
<% if comment.has_been_edited? %>
edited
<% elsif comment.is_from_email? %>
e-mailed
<% end %>
<%= raw(time_ago_in_words_label(comment.has_been_edited? ?
comment.updated_at : comment.created_at).gsub(/^about /, "")) %> ago
<%= comment.is_from_email?? "via e-mail" : "" %>
<% end %>
<% if !comment.previewing %>