mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-27 04:18:49 +01:00
24 lines
1 KiB
Text
24 lines
1 KiB
Text
<%
|
|
paginate_options = {
|
|
:class => :link_in_container_header,
|
|
:previous_label => '« '+ t('common.previous'),
|
|
:next_label => t('common.next')+' »',
|
|
:inner_window => 2
|
|
}
|
|
%>
|
|
<div id="display_box">
|
|
<div class="container" id="completed_recurring_todos_container">
|
|
<div class="paginate_header"><%= will_paginate @completed_recurring_todos, paginate_options %></div>
|
|
<h2>
|
|
<span id="completed-projects-count" class="badge"><%= "#{@total} (#{@range_low}-#{@range_high})" %></span>
|
|
<%= t('todos.completed_recurring') %>
|
|
</h2>
|
|
<div id="completed_recurring_todos_container">
|
|
<div id="completed-empty-nd" style="<%= @no_completed_recurring_todos ? 'display:block' : 'display:none'%>">
|
|
<div class="message"><p><%= t('todos.no_completed_recurring') %></p></div>
|
|
</div>
|
|
<%= render :partial => @completed_recurring_todos %>
|
|
</div>
|
|
<div class="paginate_footer"><%= will_paginate @completed_recurring_todos, paginate_options %></div>
|
|
</div>
|
|
</div>
|