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') %>:
|
||||
</span>
|
||||
<span>
|
||||
<%= paper.description.html_safe %>
|
||||
<% if papers_data.present? %>
|
||||
<%= paper.description.html_safe %>
|
||||
<br>
|
||||
<%= paper.content.html_safe %>
|
||||
<% end %>
|
||||
<%= paper.content.html_safe %>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue