mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-07 00:11:47 +01:00
Conflicts: Gemfile.lock app/assets/stylesheets/tracks.css.scss app/controllers/todos_controller.rb app/services/rich_message_extractor.rb app/services/todo_from_rich_message.rb app/views/todos/all_done.html.erb config/initializers/rack-mini-profiler.rb test/models/rich_message_extractor_test.rb test/models/todo_from_rich_message_test.rb
24 lines
767 B
Text
24 lines
767 B
Text
<%
|
|
paginate_options = {
|
|
class: 'pagination pagination-small',
|
|
previous_label: '« '+ t('common.previous'),
|
|
next_label: t('common.next')+' »',
|
|
inner_window: 2,
|
|
renderer: BootstrapPagination::Rails
|
|
}
|
|
%>
|
|
<div class="paginate_header">
|
|
<%= will_paginate @done, paginate_options %>
|
|
</div>
|
|
|
|
<h2><%= t('todos.all_completed') %></h2>
|
|
|
|
<% if @done.empty? -%>
|
|
<div class="message">
|
|
<p><%= t('todos.no_completed_actions') %></p>
|
|
</div>
|
|
<% else -%>
|
|
<%= render :partial => "todos/todo", :collection => @done, :locals => { :parent_container_type => "completed", :suppress_context => false, :suppress_project => false } %>
|
|
<% end -%>
|
|
|
|
<div class="paginate_footer"><%= will_paginate @done, paginate_options %></div>
|