Update _writing_journal.html.erb

This commit is contained in:
chiu 2019-11-02 12:26:42 +08:00
parent 47405029fd
commit 00dd7f213e
1 changed files with 3 additions and 1 deletions

View File

@ -2,9 +2,11 @@
<tr id="<%= dom_id writing_journal %>" class="with_action">
<td class="span1"><%= writing_journal.year %></td>
<td class="span1">
<% puts writing_journal.create_link.inspect %>
<%= ("<a href='#{OrbitHelper.url_to_plugin_show(writing_journal.to_param,'personal_journal').to_s}' target='blank'><div>"
+ writing_journal.create_link.to_s + "</div></a>")
.html_safe %>
.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>