Update _writing_journal.html.erb

This commit is contained in:
chiu 2019-11-02 13:03:55 +08:00
parent 62cd96a53a
commit b3265b07b7
1 changed files with 1 additions and 5 deletions

View File

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