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

22 lines
924 B
Plaintext

<table class="table main-list">
<thead>
<tr>
<th class="span1"><%= t('personal_journal.year') %></th>
<th class="span7"><%= t('module_name.journal_paper') %></th>
<th class="span1"><%= t('personal_journal.authors') %></th>
</tr>
</thead>
<tbody id="tbody_writing_journals" class="sort-holder">
<%= render 'writing_journal' %>
</tbody>
</table>
<div class="bottomnav clearfix">
<div class="action pull-right">
<%= link_to content_tag(:i, nil, :class => 'icon-cog icon-white') + t('setting'), admin_writing_journal_setting_path, :class => 'btn btn-primary pull-right' %>
<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t('announcement.add_new'), new_admin_journal_paper_path, :class => 'btn btn-primary pull-right' %>
</div>
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@writing_journals), class: "pagination pagination-centered" %>
</div>
</div>