Hide subtitle when no papers and always display content.
This commit is contained in:
1 parent
a5f435c547
commit
ea6ad70e25
1 file changed
+2
-2
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user