personal-journal1/app/views/admin/journal_papers/_writing_journal.html.erb

19 lines
812 B
Plaintext
Raw Normal View History

2014-07-18 07:04:07 +00:00
<% @writing_journals.each do |writing_journal| %>
<tr id="<%= dom_id writing_journal %>" class="with_action">
<td class="span1"><%= writing_journal.year %></td>
<td class="span1">
2019-11-02 05:25:10 +00:00
<a href="<%= OrbitHelper.url_to_plugin_show(writing_journal.to_param,'personal_journal').to_s %>" target="blank">
2019-11-02 05:27:14 +00:00
<span>
2019-11-02 05:47:04 +00:00
<%= "#{ Nokogiri::HTML(writing_journal.create_link).text}" %>
2019-11-02 05:27:14 +00:00
</span>
2019-11-02 05:25:10 +00:00
</a>
2014-07-18 07:04:07 +00:00
<div class="quick-edit">
<ul class="nav nav-pills hide">
2019-11-02 04:14:29 +00:00
<li><%= link_to t('edit').to_s, edit_admin_journal_paper_path(writing_journal) %></li>
2014-07-18 07:04:07 +00:00
<li><%= link_to t(:delete_), admin_journal_paper_path(id: writing_journal.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
</ul>
</div>
</td>
2015-01-09 07:30:13 +00:00
<td><%= writing_journal.member_profile.name rescue "" %></td>
2014-07-18 07:04:07 +00:00
</tr>
<% end %>