Hide subtitle when no papers and always display content.
This commit is contained in:
parent
a5f435c547
commit
ea6ad70e25
|
@ -181,11 +181,11 @@
|
||||||
<%= t('e_paper.description') %>:
|
<%= t('e_paper.description') %>:
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span>
|
||||||
<%= paper.description.html_safe %>
|
|
||||||
<% if papers_data.present? %>
|
<% if papers_data.present? %>
|
||||||
|
<%= paper.description.html_safe %>
|
||||||
<br>
|
<br>
|
||||||
<%= paper.content.html_safe %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<%= paper.content.html_safe %>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue