Update merge.html.erb

This commit is contained in:
chiu 2019-11-01 17:26:42 +08:00
parent 056bce83f8
commit de7c9c9104
1 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,7 @@
<th><%= t('personal_journal.paper_type') %></th> <th><%= t('personal_journal.paper_type') %></th>
<th><%= t('personal_journal.publication_date') %></th> <th><%= t('personal_journal.publication_date') %></th>
<% end %> <% end %>
<th><%= t("personal_plugins.merge") %></th>
<th><%= t("personal_plugins.author") %></th> <th><%= t("personal_plugins.author") %></th>
</tr> </tr>
</thead> </thead>
@ -35,6 +36,9 @@
</td> </td>
<% if params['mode']=='simple' %> <% if params['mode']=='simple' %>
<% journals.each_with_index do |journal,i| %> <% journals.each_with_index do |journal,i| %>
<td>
<input type="checkbox" class="checkbox" name="journal_id" value="<%= journal.id %>">
</td>
<td> <td>
<a href="<%= edit_admin_journal_paper_path(journal) %>" target="_blank"> <a href="<%= edit_admin_journal_paper_path(journal) %>" target="_blank">
<%= get_member(journal).collect(&:name).join(' / ') rescue t('personal_journal.no_input') %> <%= get_member(journal).collect(&:name).join(' / ') rescue t('personal_journal.no_input') %>
@ -55,6 +59,9 @@
</td> </td>
<% end %> <% end %>
<% v.each_with_index do |journal_child,index1| %> <% v.each_with_index do |journal_child,index1| %>
<td>
<input type="checkbox" class="checkbox" name="journal_id" value="<%= journal_child.id %>">
</td>
<td> <td>
<a href="<%= edit_admin_journal_paper_path(journal_child) %>" target="_blank"> <a href="<%= edit_admin_journal_paper_path(journal_child) %>" target="_blank">
<%= 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') %>