Update _writing_journal.html.erb

This commit is contained in:
chiu 2019-11-02 12:55:17 +08:00
parent cb89771df6
commit cd72ecb76c
1 changed files with 1 additions and 4 deletions

View File

@ -2,10 +2,7 @@
<tr id="<%= dom_id writing_journal %>" class="with_action">
<td class="span1"><%= writing_journal.year %></td>
<td class="span1">
<%= ("<a href='#{OrbitHelper.url_to_plugin_show(writing_journal.to_param,'personal_journal').to_s}' target='blank'><div>"
+ writing_journal.create_link.gsub(/(\")/,'\'') + "</div></a>")
.html_safe
%>
<%= ("<a href='#{OrbitHelper.url_to_plugin_show(writing_journal.to_param,'personal_journal').to_s}' target='blank'><div>"+ writing_journal.create_link.gsub(/(\")/,"\'") + "</div></a>").html_safe%>
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><%= link_to t('edit').to_s, edit_admin_journal_paper_path(writing_journal) %></li>