From f3b6e7a65a11cf9399bec13a91a5842f8ad15011 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 1 Nov 2019 16:59:22 +0800 Subject: [PATCH] Update merge.html.erb --- app/views/admin/journal_papers/merge.html.erb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/admin/journal_papers/merge.html.erb b/app/views/admin/journal_papers/merge.html.erb index a362e33..4cdebe3 100644 --- a/app/views/admin/journal_papers/merge.html.erb +++ b/app/views/admin/journal_papers/merge.html.erb @@ -36,7 +36,9 @@ <% if params['mode']=='simple' %> <% journals.each_with_index do |journal,i| %> - <%= get_member(journal).collect(&:name).join(' / ') rescue t('personal_journal.no_input') %> + + <%= get_member(journal).collect(&:name).join(' / ') rescue t('personal_journal.no_input') %> + <% if len!=(i+1) %> @@ -54,7 +56,9 @@ <% end %> <% v.each_with_index do |journal_child,index1| %> - <%= get_member(journal_child).collect(&:name).join(' / ') rescue t('personal_journal.no_input') %> + + <%= get_member(journal_child).collect(&:name).join(' / ') rescue t('personal_journal.no_input') %> + <% if len1!=index1 %>