personal-project/app/views/admin/projects/index.html.erb

25 lines
1.1 KiB
Plaintext
Raw Normal View History

2014-07-04 06:14:37 +00:00
<table class="table main-list">
<thead>
<tr>
<th class="span2"><%= t('personal_project.period') %></th>
<th class="span5"><%= t('personal_project.project_title') %></th>
<th class="span1"><%= t('personal_project.job_title') %></th>
<th class="span1"><%= t('personal_project.participator') %></th>
<th class="span1"><%= t('personal_project.unit') %></th>
<th class="span1"><%= t('users.name') %></th>
</tr>
</thead>
<tbody id="tbody_projects" class="sort-holder">
2014-07-18 07:06:04 +00:00
<%= render 'project' %>
2014-07-04 06:14:37 +00:00
</tbody>
</table>
<div class="bottomnav clearfix">
<div class="action pull-right">
2015-01-20 06:47:03 +00:00
<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t(:new_), new_admin_project_path, :class => 'btn btn-primary' %>
2014-07-04 06:14:37 +00:00
<%= link_to content_tag(:i, nil, :class => 'icon-cog icon-white') + t('setting'), admin_project_setting_path, :class => 'btn btn-primary pull-right' %>
</div>
<div class="pagination pagination-centered">
2014-07-18 07:06:04 +00:00
<%= content_tag :div, paginate(@projects), class: "pagination pagination-centered" %>
2014-07-04 06:14:37 +00:00
</div>
</div>