personal-journal/app/views/admin/journal_papers/index.html.erb

22 lines
895 B
Plaintext
Raw Normal View History

2014-06-12 10:27:26 +00:00
<table class="table main-list">
<thead>
<tr>
<th class="span1"><%= t('personal_journal.year') %></th>
2014-06-25 13:43:04 +00:00
<th class="span7"><%= t('module_name.journal_paper') %></th>
2015-01-09 07:30:13 +00:00
<th class="span1"><%= t("personal_plugins.author") %></th>
2014-06-12 10:27:26 +00:00
</tr>
</thead>
<tbody id="tbody_writing_journals" class="sort-holder">
2014-07-18 07:04:07 +00:00
<%= render 'writing_journal' %>
2014-06-12 10:27:26 +00:00
</tbody>
</table>
<div class="bottomnav clearfix">
<div class="action pull-right">
2015-01-20 06:40:24 +00:00
<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t(:new_), new_admin_journal_paper_path, :class => 'btn btn-primary' %>
2014-06-12 10:27:26 +00:00
<%= link_to content_tag(:i, nil, :class => 'icon-cog icon-white') + t('setting'), admin_writing_journal_setting_path, :class => 'btn btn-primary pull-right' %>
</div>
<div class="pagination pagination-centered">
2014-07-18 07:04:07 +00:00
<%= content_tag :div, paginate(@writing_journals), class: "pagination pagination-centered" %>
2014-06-12 10:27:26 +00:00
</div>
</div>