"edited by e-mail" doesn't make much sense
This commit is contained in:
parent
9d1a1bdcf9
commit
49a116a12e
|
@ -36,10 +36,13 @@ class="comment <%= comment.current_vote ? (comment.current_vote[:vote] == 1 ?
|
||||||
<% end %>
|
<% end %>
|
||||||
><%= comment.user.username %></a>
|
><%= 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? ?
|
<%= raw(time_ago_in_words_label(comment.has_been_edited? ?
|
||||||
comment.updated_at : comment.created_at).gsub(/^about /, "")) %> ago
|
comment.updated_at : comment.created_at).gsub(/^about /, "")) %> ago
|
||||||
<%= comment.is_from_email?? "via e-mail" : "" %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if !comment.previewing %>
|
<% if !comment.previewing %>
|
||||||
|
|
Loading…
Reference in a new issue