personal-activity/app/views/admin/activities/index.html.erb

28 lines
1023 B
Plaintext
Raw Normal View History

2020-02-04 09:35:19 +00:00
<script src="https://kit.fontawesome.com/1fa49cfdc9.js" crossorigin="anonymous"></script>
<table class="table main-list">
<thead>
<tr>
<th class="span1"><%= t("personal_activity.participant") %></th>
<th class="span1"><%= t("personal_activity.year") %></th>
<th class="span5"><%= t("personal_plugins.activity_name") %></th>
<th class="span1"><%= t("personal_plugins.activity_organizer") %></th>
</tr>
</thead>
<tbody id="tbody_activity" class="sort-holder">
<%= render 'activity' %>
</tbody>
</table>
<div class="bottomnav clearfix">
2020-02-06 05:45:12 +00:00
<!-- buttons -->
<div class="action pull-right">
<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t(:new_), new_admin_activity_path, :class => 'btn btn-primary' %>
</div>
<!-- pagination -->
2020-02-04 09:35:19 +00:00
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@activities), class: "pagination pagination-centered" %>
</div>
</div>