<%= link_to node.title, journal_path(node.id) %>
<% if can_edit_or_delete?(node) %>
<% if can_edit_or_delete?(node) %>
- <%= t("journals.add_chapter") %>
<% end %>
- <%= link_to t(:edit), edit_admin_journal_path(node.id) %>
- <%= link_to t(:delete_), admin_journal_path(node.id), method: :delete, data: {confirm: "Are you sure?"} %>
<% end %>
|
<%= node.status_for_table %> |
<%= node.author %> |
<%= node.pub_date.strftime('%Y-%m-%d') %> |
<%= node.category.title rescue "" %>
<% if (node.category.disable rescue false) %>
<%= t(:disabled) %>
<% end %>
|
<% end %>