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

31 lines
1.2 KiB
Plaintext
Raw Normal View History

2014-06-12 10:27:26 +00:00
<% content_for :side_bar do %>
<%= render :partial => 'layouts/side_bar', :locals => {:link_name => t(:user), :link_url => admin_site_site_info_path(site_id: current_site.id), :icon => 'icons-users', :side_bar_content => 'admin/members/side_bar'} %>
<% end %>
<div class="subnav">
<%= render 'admin/personal_plugins/plugin_list' %>
</div>
<table class="table main-list">
<thead>
<tr>
<th class="span1"><%= t('personal_journal.year') %></th>
<th class="span7"><%= t('module_name.personal_journal') %></th>
<th class="span1"><%= t('personal_journal.authors') %></th>
</tr>
</thead>
<tbody id="tbody_writing_journals" class="sort-holder">
<%= render :partial => 'writing_journal', :collection => @writing_journals %>
</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">
</div>
</div>