Update _writing_journal.html.erb

This commit is contained in:
chiu 2019-11-02 13:25:10 +08:00
parent 34eff8bdcf
commit 8e78b76675
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,9 @@
<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">
<%= ActionController::Base.helpers.sanitize("<a href=\"#{OrbitHelper.url_to_plugin_show(writing_journal.to_param,'personal_journal').to_s}\" target=\"blank\">#{writing_journal.create_link}</a>") %> <a href="<%= OrbitHelper.url_to_plugin_show(writing_journal.to_param,'personal_journal').to_s %>" target="blank">
<%= ActionController::Base.helpers.sanitize("#{writing_journal.create_link}") %>
</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>