mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Don't show "in reply to" when there's a quote
This commit is contained in:
parent
3fbb2cd728
commit
db8f4ea58f
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
<%- @topic_view.posts.each do |post| %>
|
||||
<article class='post<%- if post.trashed? %> deleted<% end %>' id='post-<%= post.id.to_s %>'>
|
||||
<%= link_to embed_post_date(post.created_at), post.url, class: 'post-date', target: "_blank" %>
|
||||
<%- if post.reply_to_post.present? %>
|
||||
<%- if post.reply_to_post.present? && !post.cooked.index('aside') %>
|
||||
<%= link_to I18n.t('embed.in_reply_to', username: post.reply_to_post.username), post.reply_to_post.url, 'data-link-to-post' => post.reply_to_post.id.to_s, :class => 'in-reply-to' %>
|
||||
<%- end %>
|
||||
|
||||
|
|
Loading…
Reference in a new issue