From ea6ad70e2586e8a8c0ddeaedaae3a7e729220892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Sun, 18 Aug 2024 10:51:37 +0800 Subject: [PATCH] Hide subtitle when no papers and always display content. --- app/views/admin/e_paper_criterias/emailer.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/e_paper_criterias/emailer.html.erb b/app/views/admin/e_paper_criterias/emailer.html.erb index 6c4ea87..28cfca3 100644 --- a/app/views/admin/e_paper_criterias/emailer.html.erb +++ b/app/views/admin/e_paper_criterias/emailer.html.erb @@ -181,11 +181,11 @@ <%= t('e_paper.description') %>: - <%= paper.description.html_safe %> <% if papers_data.present? %> + <%= paper.description.html_safe %>
- <%= paper.content.html_safe %> <% end %> + <%= paper.content.html_safe %>