mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
regression, if there is not excerpt skip
This commit is contained in:
parent
ed4c0f256e
commit
7aef604f7d
@ -53,7 +53,7 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
<span class='posts' title='<%= t 'posts' %>'>(<%= t.posts_count %>)</span>
|
<span class='posts' title='<%= t 'posts' %>'>(<%= t.posts_count %>)</span>
|
||||||
|
|
||||||
<% if t.pinned_until && t.pinned_until > Time.zone.now && (t.pinned_globally || @list.category) %>
|
<% if t.pinned_until && (t.pinned_until > Time.zone.now) && (t.pinned_globally || @list.category) && t.excerpt %>
|
||||||
<p class='excerpt'>
|
<p class='excerpt'>
|
||||||
<%= t.excerpt.html_safe %>
|
<%= t.excerpt.html_safe %>
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user